bashSnippets: use python3

This commit is contained in:
Frederik Rietdijk 2021-03-25 10:32:48 +01:00
parent d191ee7330
commit be247c12b8

View File

@ -1,10 +1,10 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper { stdenv, lib, fetchFromGitHub, makeWrapper
, curl, python, bind, iproute, bc, gitMinimal }: , curl, python3, bind, iproute, bc, gitMinimal }:
let let
version = "1.23.0"; version = "1.23.0";
deps = lib.makeBinPath [ deps = lib.makeBinPath [
curl curl
python python3
bind.dnsutils bind.dnsutils
iproute iproute
bc bc
@ -24,11 +24,13 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
patchPhase = '' postPatch = ''
patchShebangs install.sh patchShebangs install.sh
substituteInPlace install.sh --replace /usr/local "$out" substituteInPlace install.sh --replace /usr/local "$out"
''; '';
strictDeps = true;
dontBuild = true; dontBuild = true;
installPhase = '' installPhase = ''