1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 15:32:43 +01:00

* Linker accepts a name for the program.

* Better diagnostics.
This commit is contained in:
Eelco Dolstra 2004-07-06 14:10:09 +00:00
parent 0920fe3038
commit 321be4649d
4 changed files with 10 additions and 7 deletions

View file

@ -8,10 +8,10 @@ rec {
inherit main localIncludes;
};
link = {objects}: stdenv.mkDerivation {
link = {objects, programName ? "program"}: stdenv.mkDerivation {
name = "link";
builder = ./link.sh;
inherit objects;
inherit objects programName;
};
}