nixpkgs/pkgs/build-support/substitute/substitute-all.nix

10 lines
183 B
Nix

{stdenv}:
args:
stdenv.mkDerivation ({
name = if args ? name then args.name else baseNameOf (toString args.src);
builder = ./substitute-all.sh;
inherit (args) src;
} // args)