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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
327 B
Nix
Raw Normal View History

{ stdenvNoCC }:
args:
2024-02-26 13:11:42 +00:00
# see the substituteAll in the nixpkgs documentation for usage and constraints
stdenvNoCC.mkDerivation ({
name = if args ? name then args.name else baseNameOf (toString args.src);
builder = ./substitute-all.sh;
inherit (args) src;
preferLocalBuild = true;
allowSubstitutes = false;
} // args)