about summary refs log tree commit diff
path: root/pkgs/development/tools/nsis/default.nix
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2020-03-27 14:47:48 +0100
committerJon <jonringer@users.noreply.github.com>2020-03-27 10:49:52 -0700
commit0950324466d7d978dadccf8dee58c89344d8326b (patch)
treeb631f3381f45c3af48c8344cae1a8a6e995323a4 /pkgs/development/tools/nsis/default.nix
parente9aa2ef64ac52d3dca00422a3dfb54dcc7e3cc93 (diff)
scons: Add passthru.py2 for backward compatibility
Not all packages build with Python 3, see #75877. The goal is to get rid
of Python 2 but this approach ensures a smoother transition.
Diffstat (limited to 'pkgs/development/tools/nsis/default.nix')
-rw-r--r--pkgs/development/tools/nsis/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/nsis/default.nix b/pkgs/development/tools/nsis/default.nix
index 683d07ed4964..ea6203e57c31 100644
--- a/pkgs/development/tools/nsis/default.nix
+++ b/pkgs/development/tools/nsis/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
     chmod -R u+w $out/share/nsis
   '';
 
-  nativeBuildInputs = [ scons ];
+  nativeBuildInputs = [ scons.py2 ];
   buildInputs = [ zlib ];
 
   sconsFlags = [