You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.0 KiB

  1. {
  2. edition = 201909;
  3. description = "A collection of packages for the Nix package manager";
  4. outputs = { self }:
  5. let
  6. jobs = import ./pkgs/top-level/release.nix {
  7. nixpkgs = self;
  8. };
  9. lib = import ./lib;
  10. in
  11. {
  12. lib = lib // {
  13. nixosSystem = { modules, ... } @ args:
  14. import ./nixos/lib/eval-config.nix (args // {
  15. modules = modules ++
  16. [ { system.nixos.versionSuffix =
  17. ".${lib.substring 0 8 self.lastModified}.${self.shortRev}";
  18. system.nixos.revision = self.rev;
  19. }
  20. ];
  21. });
  22. };
  23. checks.tarball = jobs.tarball;
  24. htmlDocs = {
  25. nixpkgsManual = jobs.manual;
  26. nixosManual = (import ./nixos/release-small.nix {
  27. nixpkgs = self;
  28. }).nixos.manual.x86_64-linux;
  29. };
  30. legacyPackages = import ./. { system = "x86_64-linux"; };
  31. nixosModules = {
  32. notDetected = ./nixos/modules/installer/scan/not-detected.nix;
  33. };
  34. };
  35. }