summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-18 14:33:08 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-18 14:33:08 +0200
commit1959a35163a0d48a3c147396265c056922a731c1 (patch)
tree4fa94730205a08fe208ae41fd6a1e1fe0a4949eb /nix
parent1490b9cb5334b1b1704005884a6a4880ed51afc9 (diff)
downloadutils-1959a35163a0d48a3c147396265c056922a731c1.tar
utils-1959a35163a0d48a3c147396265c056922a731c1.tar.gz
utils-1959a35163a0d48a3c147396265c056922a731c1.tar.bz2
utils-1959a35163a0d48a3c147396265c056922a731c1.tar.xz
utils-1959a35163a0d48a3c147396265c056922a731c1.zip
Pack for NixOS
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix20
-rw-r--r--nix/module.nix7
2 files changed, 18 insertions, 9 deletions
diff --git a/nix/default.nix b/nix/default.nix
index a40d8f6..5e5a536 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -1,11 +1,13 @@
1{}: 1pkgs:
2 2
3let 3let
4 pkgs = import <nixpkgs> {}; 4 callPackage = pkgs.callPackageWith (pkgs // self);
5in rec { 5
6 cliparg = pkgs.callPackage ./cliparg.nix {}; 6 self = {
7 rebuild-system = pkgs.callPackage ./rebuild-system.nix {}; 7 cliparg = callPackage ./cliparg.nix {};
8 pulseaudio-ctl = pkgs.callPackage ./pulseaudio-ctl.nix {}; 8 rebuild-system = callPackage ./rebuild-system.nix {};
9 monitor-uucp = pkgs.callPackage ./monitor-uucp.nix {}; 9 pulseaudio-ctl = callPackage ./pulseaudio-ctl.nix {};
10 rolling-directory = pkgs.callPackage ./rolling-directory.nix {}; 10 monitor-uucp = callPackage ./monitor-uucp.nix {};
11} 11 rolling-directory = callPackage ./rolling-directory.nix {};
12 };
13in self
diff --git a/nix/module.nix b/nix/module.nix
new file mode 100644
index 0000000..c70d7e0
--- /dev/null
+++ b/nix/module.nix
@@ -0,0 +1,7 @@
1{ ... }:
2
3{
4 config = {
5 nixpkgs.config.packageOverrides = import ./default.nix;
6 };
7}