From 00064c21cc328fb96b631917220acbc26f232f96 Mon Sep 17 00:00:00 2001 From: Amine Chikhaoui Date: Mon, 10 Sep 2018 11:53:45 +0200 Subject: [PATCH] ZHF 18.09: fix crypsetup build with python enabled. (#46468) Fixes https://hydra.nixos.org/build/81028247. --- pkgs/os-specific/linux/cryptsetup/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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.