nvfetcher: add nix-prefetch-docker to PATH

This commit is contained in:
amesgen 2023-01-06 20:37:02 +01:00
parent 6d7cf37d78
commit ca966310f5
No known key found for this signature in database
GPG key ID: 1A89EC203635A13D

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);