diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-07-20 18:01:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 18:01:04 +0000 |
commit | 61eb7e2e9e36e062a3bd323155441f78e9fcd7ed (patch) | |
tree | 95a0c82b7250621868f016fc7c0995d6ae09fd8b /pkgs/tools/package-management/nix-prefetch/default.nix | |
parent | 3202dd166c491b8389c130d80dde3a377f650741 (diff) | |
parent | 8472d44b82084f8b638b0dca248fae61b9bd1bad (diff) | |
download | nixpkgs-61eb7e2e9e36e062a3bd323155441f78e9fcd7ed.tar nixpkgs-61eb7e2e9e36e062a3bd323155441f78e9fcd7ed.tar.gz nixpkgs-61eb7e2e9e36e062a3bd323155441f78e9fcd7ed.tar.bz2 nixpkgs-61eb7e2e9e36e062a3bd323155441f78e9fcd7ed.tar.lz nixpkgs-61eb7e2e9e36e062a3bd323155441f78e9fcd7ed.tar.xz nixpkgs-61eb7e2e9e36e062a3bd323155441f78e9fcd7ed.tar.zst nixpkgs-61eb7e2e9e36e062a3bd323155441f78e9fcd7ed.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/package-management/nix-prefetch/default.nix')
-rw-r--r-- | pkgs/tools/package-management/nix-prefetch/default.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/tools/package-management/nix-prefetch/default.nix b/pkgs/tools/package-management/nix-prefetch/default.nix index 662be6a0978..5936429c7a4 100644 --- a/pkgs/tools/package-management/nix-prefetch/default.nix +++ b/pkgs/tools/package-management/nix-prefetch/default.nix @@ -2,10 +2,7 @@ , docbook_xml_dtd_45, git, docbook_xsl, libxml2, libxslt, coreutils, gawk , gnugrep, gnused, jq, nix }: -let - binPath = lib.makeBinPath [ coreutils gawk git gnugrep gnused jq nix ]; - -in stdenv.mkDerivation rec { +stdenv.mkDerivation rec { pname = "nix-prefetch"; version = "0.4.1"; @@ -55,7 +52,7 @@ in stdenv.mkDerivation rec { install -Dm555 -t $lib src/*.sh install -Dm444 -t $lib lib/* makeWrapper $lib/main.sh $out/bin/${pname} \ - --prefix PATH : ${binPath} + --prefix PATH : ${lib.makeBinPath [ coreutils gawk git gnugrep gnused jq nix ]} installManPage doc/nix-prefetch.? @@ -69,7 +66,7 @@ in stdenv.mkDerivation rec { description = "Prefetch any fetcher function call, e.g. package sources"; license = licenses.mit; maintainers = with maintainers; [ msteen ]; - inherit (src.meta) homepage; + homepage = "https://github.com/msteen/nix-prefetch"; platforms = platforms.all; }; } |