yaml-merge: fix build issue

This commit is contained in:
Ryan Horiguchi 2022-01-10 18:17:51 +01:00
parent 92b09d4735
commit 0cacc3a0d6
No known key found for this signature in database
GPG key ID: CA7EE98D45A1132A

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pythonPackages }:
{ lib, stdenv, fetchFromGitHub, python3Packages }:
stdenv.mkDerivation {
pname = "yaml-merge";
@ -11,8 +11,8 @@ stdenv.mkDerivation {
sha256 = "0mwda2shk43i6f22l379fcdchmb07fm7nf4i2ii7fk3ihkhb8dgp";
};
pythonPath = with pythonPackages; [ pyyaml ];
nativeBuildInputs = [ pythonPackages.wrapPython ];
pythonPath = with python3Packages; [ pyyaml ];
nativeBuildInputs = with python3Packages; [ wrapPython ];
installPhase = ''
install -Dm755 yaml-merge.py $out/bin/yaml-merge