aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/default.nix
diff options
context:
space:
mode:
authorKierĂ¡n Meinhardt <kmein@posteo.de>2023-02-28 19:56:32 +0100
committertv <tv@krebsco.de>2023-02-28 20:32:17 +0100
commit66a1f6833464bbb121b6d94247ad769f277351f8 (patch)
tree6b816e6dfd49a97bb3325249496ec966cc13e6ff /pkgs/default.nix
parentd1424777b5f2e12cbd80efd1b55335dcba7c32bd (diff)
convert to flakeHEAD3.7.0master
Diffstat (limited to 'pkgs/default.nix')
-rw-r--r--pkgs/default.nix6
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>