-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathrelease.nix
42 lines (34 loc) · 889 Bytes
/
release.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
mkFirmware = callPackage ./nix/firmware.nix {
avrgcc = pkgsCross.avr.buildPackages.gcc;
avrbinutils = pkgsCross.avr.buildPackages.binutils;
avrlibc = pkgsCross.avr.libcCross;
};
in
rec {
qtclient = libsForQt5.callPackage ./nix/qtclient.nix {
inherit compiler;
};
compiler = haskellPackages.callPackage ./nix/compiler.nix {};
kinesis = mkFirmware {
name = "kinesis";
hardwareVariant = "KINESIS";
hardwareLibrary = "vusb";
};
kinesis110 = kinesis.override {
name = "kinesis110";
hardwareVariant = "KINESIS110";
};
ergodox-nostorage = mkFirmware {
name = "ergodox-nostorage";
hardwareVariant = "ERGODOX";
hardwareLibrary = "lufa";
hasStorage = false;
};
ergodox-storage = ergodox-nostorage.override {
name = "ergodox-storage";
hasStorage = true;
};
}