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:
parent
0920fe3038
commit
321be4649d
4 changed files with 10 additions and 7 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue