diff options
author | Amine Chikhaoui <amine.chikhaoui91@gmail.com> | 2018-09-10 11:53:45 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-10 11:53:45 +0200 |
commit | 00064c21cc328fb96b631917220acbc26f232f96 (patch) | |
tree | 088ff33bc7b43eca1daf31204157bee2887438a7 /pkgs/os-specific/linux/cryptsetup | |
parent | a2bb5d69173623a4ab7d84a4e1af2aa310be09cc (diff) |
ZHF 18.09: fix crypsetup build with python enabled. (#46468)
Fixes https://hydra.nixos.org/build/81028247.
Diffstat (limited to 'pkgs/os-specific/linux/cryptsetup')
-rw-r--r-- | pkgs/os-specific/linux/cryptsetup/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/cryptsetup/default.nix b/pkgs/os-specific/linux/cryptsetup/default.nix index 2b5c3817ddf7..4eec4754ca9a 100644 --- a/pkgs/os-specific/linux/cryptsetup/default.nix +++ b/pkgs/os-specific/linux/cryptsetup/default.nix @@ -19,6 +19,9 @@ stdenv.mkDerivation rec { postPatch = '' patchShebangs tests + ${stdenv.lib.optionalString enablePython '' + patchShebangs ./python/pycryptsetup-test.py + ''} # O_DIRECT is filesystem dependent and fails in a sandbox (on tmpfs) # and on several filesystem types (btrfs, zfs) without sandboxing. |