ZHF 18.09: fix crypsetup build with python enabled. (#46468)

Fixes https://hydra.nixos.org/build/81028247.
This commit is contained in:
Amine Chikhaoui 2018-09-10 11:53:45 +02:00 committed by xeji
parent a2bb5d6917
commit 00064c21cc

View file

@ -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.