2016-09-27 14:28:11 +01:00
|
|
|
{ stdenvNoCC }:
|
2006-11-02 22:44:32 +00:00
|
|
|
|
|
|
|
args:
|
|
|
|
|
2016-04-23 16:55:20 +01:00
|
|
|
# see the substituteAll in the nixpkgs documentation for usage and constaints
|
2016-09-27 14:28:11 +01:00
|
|
|
stdenvNoCC.mkDerivation ({
|
2006-11-02 22:44:32 +00:00
|
|
|
name = if args ? name then args.name else baseNameOf (toString args.src);
|
2006-12-10 22:24:42 +00:00
|
|
|
builder = ./substitute-all.sh;
|
2006-11-02 22:44:32 +00:00
|
|
|
inherit (args) src;
|
2012-04-26 16:17:43 +01:00
|
|
|
preferLocalBuild = true;
|
2006-11-02 22:44:32 +00:00
|
|
|
} // args)
|