Merge pull request #209362 from amesgen/nvfetcher-docker

nvfetcher: add nix-prefetch-docker to PATH
This commit is contained in:
Dennis Gosnell 2023-01-07 09:37:30 +09:00 committed by GitHub
commit 33be6f87f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -840,7 +840,11 @@ self: super: builtins.intersectAttrs super {
buildTools = drv.buildTools or [ ] ++ [ pkgs.buildPackages.makeWrapper ];
postInstall = drv.postInstall or "" + ''
wrapProgram "$out/bin/nvfetcher" --prefix 'PATH' ':' "${
pkgs.lib.makeBinPath [ pkgs.nvchecker pkgs.nix-prefetch ]
pkgs.lib.makeBinPath [
pkgs.nvchecker
pkgs.nix-prefetch
pkgs.nix-prefetch-docker
]
}"
'';
}) super.nvfetcher);