Merge pull request #109063 from abathur/fix/resholve-do-not-propagate
resholve: don't propagate, 0.4.0 -> 0.4.1
This commit is contained in:
commit
87008c81b4
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv
|
{ lib
|
||||||
, callPackage
|
, callPackage
|
||||||
, python27Packages
|
, python27Packages
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
@ -11,12 +11,12 @@
|
|||||||
, doCheck ? true
|
, doCheck ? true
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "0.4.0";
|
version = "0.4.1";
|
||||||
rSrc = fetchFromGitHub {
|
rSrc = fetchFromGitHub {
|
||||||
owner = "abathur";
|
owner = "abathur";
|
||||||
repo = "resholve";
|
repo = "resholve";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-wfxcX3wMZqoi5bWjXYRa21UDDJmTDfE+21p4mL2IJog=";
|
hash = "sha256-VK7r+kdtWvS9d4B90Hq7fhLfWT/B/Y9zppvOX9tPt5g=";
|
||||||
};
|
};
|
||||||
deps = callPackage ./deps.nix {
|
deps = callPackage ./deps.nix {
|
||||||
/*
|
/*
|
||||||
@ -55,7 +55,7 @@ python27Packages.buildPythonApplication {
|
|||||||
|
|
||||||
inherit doCheck;
|
inherit doCheck;
|
||||||
checkInputs = [ bats ];
|
checkInputs = [ bats ];
|
||||||
RESHOLVE_PATH = "${stdenv.lib.makeBinPath [ file findutils gettext ]}";
|
RESHOLVE_PATH = "${lib.makeBinPath [ file findutils gettext ]}";
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# explicit interpreter for test suite
|
# explicit interpreter for test suite
|
||||||
@ -64,6 +64,12 @@ python27Packages.buildPythonApplication {
|
|||||||
./test.sh
|
./test.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Do not propagate Python; may be obsoleted by nixos/nixpkgs#102613
|
||||||
|
# for context on why, see abathur/resholve#20
|
||||||
|
postFixup = ''
|
||||||
|
rm $out/nix-support/propagated-build-inputs
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Resolve external shell-script dependencies";
|
description = "Resolve external shell-script dependencies";
|
||||||
homepage = "https://github.com/abathur/resholve";
|
homepage = "https://github.com/abathur/resholve";
|
||||||
|
Loading…
Reference in New Issue
Block a user