-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
38 lines (35 loc) · 823 Bytes
/
flake.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
{
description = "The Crystal Programming Language";
inputs.utils.url = "github:kreisys/flake-utils";
outputs = { self, utils, nixpkgs }:
utils.lib.simpleFlake {
inherit nixpkgs;
systems = [ "x86_64-linux" "x86_64-darwin" ];
overlay = final: prev: {
inherit (final.callPackages ./pkgs {
inherit (final.llvmPackages_10) stdenv clang llvm;
})
crystal
crystal2nix
binaryCrystal_0_31
binaryCrystal_0_35
crystal_0_31
crystal_0_33
crystal_0_34
crystal_0_35
;
};
packages = {
crystal
, crystal2nix
, binaryCrystal_0_31
, binaryCrystal_0_35
, crystal_0_31
, crystal_0_33
, crystal_0_34
, crystal_0_35
}@packages: packages // {
defaultPackage = crystal;
};
};
}