From 6a8c708d6de716f9d2e5febb247dd817dbff3100 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 18 Nov 2016 09:45:41 +0100 Subject: [PATCH] cryptsetup: use python2 --- pkgs/os-specific/linux/cryptsetup/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/cryptsetup/default.nix b/pkgs/os-specific/linux/cryptsetup/default.nix index 8e92aaf6346..5e028ffc74a 100644 --- a/pkgs/os-specific/linux/cryptsetup/default.nix +++ b/pkgs/os-specific/linux/cryptsetup/default.nix @@ -1,8 +1,8 @@ { stdenv, fetchurl, devicemapper, openssl, libuuid, pkgconfig, popt -, enablePython ? false, python ? null +, enablePython ? false, python2 ? null }: -assert enablePython -> python != null; +assert enablePython -> python2 != null; stdenv.mkDerivation rec { name = "cryptsetup-1.7.0"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional enablePython "--enable-python"; buildInputs = [ devicemapper openssl libuuid pkgconfig popt ] - ++ stdenv.lib.optional enablePython python; + ++ stdenv.lib.optional enablePython python2; meta = { homepage = https://gitlab.com/cryptsetup/cryptsetup/;