bashSnippets: use python3
This commit is contained in:
parent
d191ee7330
commit
be247c12b8
@ -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 = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user