1 # Experimental flake interface to Nixpkgs.
2 # See https://github.com/NixOS/rfcs/pull/49 for details.
6 description = "A collection of packages for the Nix package manager";
11 jobs = import ./pkgs/top-level/release.nix {
17 systems = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ];
19 forAllSystems = f: lib.genAttrs systems (system: f system);
24 nixosSystem = { modules, ... } @ args:
25 import ./nixos/lib/eval-config.nix (args // {
27 [ { system.nixos.versionSuffix =
28 ".${lib.substring 0 8 (self.lastModifiedDate or self.lastModified)}.${self.shortRev or "dirty"}";
29 system.nixos.revision = lib.mkIf (self ? rev) self.rev;
35 checks.x86_64-linux.tarball = jobs.tarball;
38 nixpkgsManual = jobs.manual;
39 nixosManual = (import ./nixos/release-small.nix {
41 }).nixos.manual.x86_64-linux;
44 legacyPackages = forAllSystems (system: import ./. { inherit system; });
47 notDetected = import ./nixos/modules/installer/scan/not-detected.nix;