mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
12 lines
327 B
Nix
12 lines
327 B
Nix
{ stdenvNoCC }:
|
|
|
|
args:
|
|
|
|
# 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)
|