3
0
Fork 0
forked from mirrors/nixpkgs

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 change
complements 390c838c7f by applying the same to the
git derivation.
This commit is contained in:
Sebastián Bernardo Galkin 2015-01-21 10:00:09 -08:00
parent c8648e14a4
commit 3c04907206

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, kernel, spl_git, perl, autoconf, automake, libtool, zlib, libuuid, coreutils, utillinux }:
{ stdenv, fetchgit, kernel, spl_git, perl, python, autoconf, automake, libtool, zlib, libuuid, coreutils, utillinux }:
stdenv.mkDerivation {
name = "zfs-0.6.4-${kernel.version}";
@ -13,7 +13,7 @@ stdenv.mkDerivation {
./nix-build-git.patch
];
buildInputs = [ spl_git perl autoconf automake libtool zlib libuuid coreutils ];
buildInputs = [ spl_git perl python autoconf automake libtool zlib libuuid coreutils ];
# for zdb to get the rpath to libgcc_s, needed for pthread_cancel to work
NIX_CFLAGS_LINK = "-lgcc_s";