yaml-merge: Fix running the cross-compiled script (#434308)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
pkgsHostTarget,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@@ -17,7 +18,11 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
pythonPath = with python3Packages; [ pyyaml ];
|
||||
nativeBuildInputs = with python3Packages; [ wrapPython ];
|
||||
nativeBuildInputs = [
|
||||
# Not `python3Packages.wrapPython` to workaround `python3Packages.wrapPython.__spliced.buildHost` having the wrong `pythonHost`
|
||||
# See https://github.com/NixOS/nixpkgs/issues/434307
|
||||
pkgsHostTarget.python3Packages.wrapPython
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 yaml-merge.py $out/bin/yaml-merge
|
||||
|
||||
Reference in New Issue
Block a user