We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30e2e28 commit 314d9b4Copy full SHA for 314d9b4
pkgs/by-name/ya/yaml-merge/package.nix
@@ -3,6 +3,7 @@
3
stdenv,
4
fetchFromGitHub,
5
python3Packages,
6
+ pkgsHostTarget,
7
}:
8
9
stdenv.mkDerivation {
@@ -17,7 +18,11 @@ stdenv.mkDerivation {
17
18
};
19
20
pythonPath = with python3Packages; [ pyyaml ];
- nativeBuildInputs = with python3Packages; [ wrapPython ];
21
+ nativeBuildInputs = [
22
+ # Not `python3Packages.wrapPython` to workaround `python3Packages.wrapPython.__spliced.buildHost` having the wrong `pythonHost`
23
+ # See https://github.com/NixOS/nixpkgs/issues/434307
24
+ pkgsHostTarget.python3Packages.wrapPython
25
+ ];
26
27
installPhase = ''
28
install -Dm755 yaml-merge.py $out/bin/yaml-merge
0 commit comments