From 1f314278629729fe6ece82dae26d3a405639bcae Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 21 Apr 2018 13:27:57 +0200 Subject: use nixpkgs overlays --- nix/default.nix | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'nix/default.nix') diff --git a/nix/default.nix b/nix/default.nix index 147aed1..dc225a3 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -1,13 +1,9 @@ -pkgs: +self: super: -let - callPackage = pkgs.lib.callPackageWith (pkgs // self); - - self = { - cliparg = callPackage ./cliparg.nix {}; - rebuild-system = callPackage ./rebuild-system.nix {}; - pulseaudio-ctl = callPackage ./pulseaudio-ctl.nix {}; - monitor-uucp = callPackage ./monitor-uucp.nix {}; - rolling-directory = callPackage ./rolling-directory.nix {}; - }; -in self +{ + cliparg = self.callPackage ./cliparg.nix {}; + rebuild-system = self.callPackage ./rebuild-system.nix {}; + pulseaudio-ctl = self.callPackage ./pulseaudio-ctl.nix {}; + monitor-uucp = self.callPackage ./monitor-uucp.nix {}; + rolling-directory = self.callPackage ./rolling-directory.nix {}; +} -- cgit v1.2.3