mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
17 lines
320 B
Nix
17 lines
320 B
Nix
rec {
|
|
|
|
inherit (import /home/eelco/nixpkgs/pkgs/system/i686-linux.nix) stdenv;
|
|
|
|
compileC = {main}: stdenv.mkDerivation {
|
|
name = "compile-c";
|
|
builder = ./compile-c.sh;
|
|
inherit main;
|
|
};
|
|
|
|
link = {objects}: stdenv.mkDerivation {
|
|
name = "link";
|
|
builder = ./link.sh;
|
|
inherit objects;
|
|
};
|
|
|
|
}
|