Merge pull request #117570 from FRidh/python2alias
Python: be explicit on whether it is python2 or python3 that is used
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ stdenv, lib, fetchFromGitHub, pythonPackages, nasm, libelf
|
||||
{ stdenv, lib, fetchFromGitHub, python2Packages, nasm, libelf
|
||||
, kernel ? null, withDriver ? false }:
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
python2Packages.buildPythonApplication rec {
|
||||
pname = "chipsec";
|
||||
version = "1.5.1";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, openssl, makeWrapper, python, coreutils }:
|
||||
{ stdenv, lib, fetchFromGitHub, openssl, makeWrapper, python3, coreutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cipherscan";
|
||||
@@ -12,7 +12,9 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ python ];
|
||||
buildInputs = [ python3 ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
buildPhase = ''
|
||||
substituteInPlace cipherscan --replace '$0' 'cipherscan'
|
||||
|
||||
Reference in New Issue
Block a user