diff options
author | KierĂ¡n Meinhardt <kmein@posteo.de> | 2023-02-28 19:56:32 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-02-28 20:32:17 +0100 |
commit | 66a1f6833464bbb121b6d94247ad769f277351f8 (patch) | |
tree | 6b816e6dfd49a97bb3325249496ec966cc13e6ff /pkgs | |
parent | d1424777b5f2e12cbd80efd1b55335dcba7c32bd (diff) |
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index b0c8638..1c616bb 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -17,9 +17,9 @@ # nix-build hello_world.nix. # -with import ../lib; - -pkgs: oldpkgs: { +pkgs: oldpkgs: +with import ../lib { nixpkgs = pkgs; }; +{ exec = name: { filename, argv ? null, envp ? null, destination ? "" }: pkgs.writeC name { inherit destination; } /* c */ '' #include <unistd.h> |