dev.fron.io rc / 3b4f897
flake: use nix flake directly Tony Olagbaiye 1 year, 8 months ago
5 changed file(s) with 55 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
1919 },
2020 "dwarffs": {
2121 "info": {
22 "lastModified": 1585848904,
23 "narHash": "sha256-sTX1/DU4lxaHYFapf1hvTir799effD9mUW7l2+3azqU="
24 },
25 "inputs": {
22 "lastModified": 1587561848,
23 "narHash": "sha256-MrQTWYibE+4Ajax1L/1IFvEuwnzrXdUwSIXkuBjRv/s="
24 },
25 "inputs": {
26 "nix": "nix",
2627 "nixpkgs": "nixpkgs"
2728 },
2829 "locked": {
2930 "owner": "edolstra",
3031 "repo": "dwarffs",
31 "rev": "83c13981993fa54c4cac230f2eec7241ab8fd0a9",
32 "rev": "e7cf5acb5ad04e308e680aa7ede11957038c89d9",
3233 "type": "github"
3334 },
3435 "original": {
3536 "owner": "edolstra",
3637 "repo": "dwarffs",
37 "rev": "83c13981993fa54c4cac230f2eec7241ab8fd0a9",
3838 "type": "github"
3939 }
4040 },
148148 "original": {
149149 "owner": "nmattia",
150150 "repo": "napalm",
151 "type": "github"
152 }
153 },
154 "nix": {
155 "info": {
156 "lastModified": 1588846396,
157 "narHash": "sha256-hUaWny0R5mBgHkP8Z+NBR7uBR7zp2FyxhcDi5LK4qxI="
158 },
159 "inputs": {
160 "nixpkgs": "nixpkgs"
161 },
162 "locked": {
163 "owner": "NixOS",
164 "repo": "nix",
165 "rev": "14a3a62bfca6c572b9a415cfa80cdbd7ad4326b3",
166 "type": "github"
167 },
168 "original": {
169 "id": "nix",
170 "type": "indirect"
171 }
172 },
173 "nix_2": {
174 "info": {
175 "lastModified": 1588846396,
176 "narHash": "sha256-hUaWny0R5mBgHkP8Z+NBR7uBR7zp2FyxhcDi5LK4qxI="
177 },
178 "inputs": {
179 "nixpkgs": "nixpkgs"
180 },
181 "locked": {
182 "owner": "nixos",
183 "repo": "nix",
184 "rev": "14a3a62bfca6c572b9a415cfa80cdbd7ad4326b3",
185 "type": "github"
186 },
187 "original": {
188 "owner": "nixos",
189 "ref": "flakes",
190 "repo": "nix",
151191 "type": "github"
152192 }
153193 },
237277 "mozilla": "mozilla",
238278 "naersk": "naersk",
239279 "napalm": "napalm",
280 "nix": "nix_2",
240281 "nur": "nur",
241282 "small": "nixpkgs_3",
242283 "snack": "snack",
77 inputs.small.url = "github:nixos/nixpkgs/nixos-unstable-small";
88 inputs.large.url = "github:nixos/nixpkgs/nixos-unstable";
99
10 #inputs.dwarffs.url = "github:edolstra/dwarffs";
11 inputs.dwarffs.url = "github:edolstra/dwarffs/83c13981993fa54c4cac230f2eec7241ab8fd0a9";
10 inputs.nix.url = "github:nixos/nix/flakes";
11 inputs.nix.inputs.nixpkgs.follows = "master";
12
13 inputs.dwarffs.url = "github:edolstra/dwarffs";
1214 inputs.dwarffs.inputs.nixpkgs.follows = "master";
1315
1416 inputs.home.url = "github:rycee/home-manager/bqv-flakes";
2830 inputs.epkgs = { url = "github:bqv/nixpkgs/emacs-native-pkgs"; };
2931
3032 outputs = inputs@{ self, master, staged, small, large,
31 dwarffs, home, nur, naersk,
33 nix, dwarffs, home, nur, naersk,
3234 emacs, mozilla, snack, napalm, bhipple, epkgs
3335 }:
3436 let
8385 inherit (import staged { inherit config system; }) libgccjit;
8486 inherit (import bhipple { inherit pkgs; }) gccemacs;
8587 })
88 nix.overlay
8689 nur.overlay
8790 self.overlay
8891 ];
3131 ];
3232
3333 system.configurationRevision = inputs.self.rev
34 or (throw "Cannot build from an unclean source tree!");
34 or (throw "Refusing to build from an unclean source tree!");
3535
3636 system.extraSystemBuilderCmds = '' ln -s '${../.}' "$out/flake" '';
3737
11
22 let inherit (lib) fileContents;
33 in {
4 nix.package = pkgs.nixFlakes;
4 nix.package = pkgs.nix;
55
66 nix.systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
77