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