summary refs log blame commit diff
path: root/flake.nix
blob: b4b126c9be0394a18988f3514d1e0a23b47bf9d8 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                       
                                                          
     


                                                         
 



                                                             




                                       
                                                                  

        
                            

      
{
  name = "nixpkgs";

  epoch = 2019;

  description = "A collection of packages for the Nix package manager";

  provides = flakes:
    let pkgs = import ./. { system = "x86_64-linux"; }; in
    {
      lib = (import ./lib) // {
        nixosSystem = import ./nixos/lib/eval-config.nix;
      };

      checks.tarball = (import ./pkgs/top-level/release.nix {
        nixpkgs = flakes.self;
      }).tarball;

      builders = {
        inherit (pkgs) stdenv fetchurl;
      };

      packages = {
        inherit (pkgs) hello nix fuse nlohmann_json boost firefox;
      };

      legacyPackages = pkgs;
    };
}