nixpkgs/flake.nix

30 lines
615 B
Nix
Raw Normal View History

2019-02-11 11:27:17 +00:00
{
name = "nixpkgs";
2019-06-03 20:26:40 +01:00
epoch = 201906;
2019-02-11 11:27:17 +00:00
description = "A collection of packages for the Nix package manager";
2019-05-29 22:03:16 +01:00
outputs = inputs:
let pkgs = import ./. { system = "x86_64-linux"; }; in
2019-02-11 11:27:17 +00:00
{
lib = (import ./lib) // {
nixosSystem = import ./nixos/lib/eval-config.nix;
};
2019-02-11 11:27:17 +00:00
2019-05-29 20:21:56 +01:00
checks.tarball = (import ./pkgs/top-level/release.nix {
2019-05-29 22:03:16 +01:00
nixpkgs = inputs.self;
2019-05-29 20:21:56 +01:00
}).tarball;
2019-02-11 11:27:17 +00:00
builders = {
inherit (pkgs) stdenv fetchurl;
};
packages = {
2019-05-29 20:11:22 +01:00
inherit (pkgs) hello nix fuse nlohmann_json boost firefox;
2019-02-11 11:27:17 +00:00
};
2019-05-29 20:11:22 +01:00
legacyPackages = pkgs;
2019-02-11 11:27:17 +00:00
};
}