diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-10-17 21:40:51 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-10-17 21:40:51 +0200 |
commit | baf9e2c7ae5ef4706122a19a7ff5236fdfb9defa (patch) | |
tree | 4623a453f54caa11650d7e2fcc7fb8b3ff328d76 /custom | |
parent | 45fceeb7b67389bb502268f795caa498c891b5c3 (diff) | |
download | nixos-baf9e2c7ae5ef4706122a19a7ff5236fdfb9defa.tar nixos-baf9e2c7ae5ef4706122a19a7ff5236fdfb9defa.tar.gz nixos-baf9e2c7ae5ef4706122a19a7ff5236fdfb9defa.tar.bz2 nixos-baf9e2c7ae5ef4706122a19a7ff5236fdfb9defa.tar.xz nixos-baf9e2c7ae5ef4706122a19a7ff5236fdfb9defa.zip |
Added thermoprint-servant to bragi
Diffstat (limited to 'custom')
m--------- | custom/thermoprint | 0 | ||||
-rw-r--r-- | custom/thermoprint.nix | 23 |
2 files changed, 23 insertions, 0 deletions
diff --git a/custom/thermoprint b/custom/thermoprint new file mode 160000 | |||
Subproject e65e1eaac335a4738abb9e8ee8da7a229f96c2c | |||
diff --git a/custom/thermoprint.nix b/custom/thermoprint.nix new file mode 100644 index 00000000..733da6c3 --- /dev/null +++ b/custom/thermoprint.nix | |||
@@ -0,0 +1,23 @@ | |||
1 | { stdenv ? (import <nixpkgs> {}).stdenv | ||
2 | , haskellPackages ? (import <nixpkgs> {}).haskellPackages | ||
3 | }: | ||
4 | |||
5 | let | ||
6 | override = stdenv.lib.overrideDerivation; | ||
7 | callPackage = haskellPackages.callPackage; | ||
8 | tprint = callPackage ./thermoprint/tprint/tprint.nix { | ||
9 | inherit thermoprint-servant thermoprint bbcode; | ||
10 | }; | ||
11 | bbcode = callPackage ./thermoprint/bbcode/bbcode.nix { | ||
12 | inherit thermoprint; | ||
13 | }; | ||
14 | thermoprint-servant = callPackage ./thermoprint/servant/servant.nix { | ||
15 | inherit thermoprint; | ||
16 | }; | ||
17 | thermoprint = callPackage ./thermoprint/thermoprint/thermoprint.nix {}; | ||
18 | in rec { | ||
19 | tprint = override tprint (oldAttrs: { src = ./thermoprint/tprint; }); | ||
20 | bbcode = override bbcode (oldAttrs: { src = ./thermoprint/bbcode; }); | ||
21 | thermoprint-servant = override thermoprint-servant (oldAttrs: { src = ./thermoprint/servant; }); | ||
22 | thermoprint = override thermoprint (oldAttrs: { src = ./thermoprint/thermoprint; }); | ||
23 | } | ||