mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Fixup zfs python scripts
zfs ships with a couple of python scripts that needed shebang rewriting. Adding python as a build dependency enables fixup to do the rewrite.
This commit is contained in:
parent
4b76c1f897
commit
390c838c7f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, kernel, spl, perl, autoconf, automake, libtool, zlib, libuuid, coreutils, utillinux }:
|
{ stdenv, fetchFromGitHub, kernel, spl, perl, python, autoconf, automake, libtool, zlib, libuuid, coreutils, utillinux }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zfs-${version}-${kernel.version}";
|
name = "zfs-${version}-${kernel.version}";
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
./nix-build.patch # Remove in >=0.6.4
|
./nix-build.patch # Remove in >=0.6.4
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ spl perl autoconf automake libtool zlib libuuid coreutils ];
|
buildInputs = [ spl perl python autoconf automake libtool zlib libuuid coreutils ];
|
||||||
|
|
||||||
# for zdb to get the rpath to libgcc_s, needed for pthread_cancel to work
|
# for zdb to get the rpath to libgcc_s, needed for pthread_cancel to work
|
||||||
NIX_CFLAGS_LINK = "-lgcc_s";
|
NIX_CFLAGS_LINK = "-lgcc_s";
|
||||||
|
|
Loading…
Reference in a new issue