123dea9b0d
Flakes now are evaluated in pure mode, so we can't rely on currentSystem anymore.
23 lines
417 B
Nix
23 lines
417 B
Nix
{
|
|
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;
|
|
|
|
builders = {
|
|
inherit (pkgs) stdenv fetchurl;
|
|
};
|
|
|
|
packages = {
|
|
inherit (pkgs) hello nix fuse nlohmann_json boost;
|
|
};
|
|
|
|
legacyPkgs = pkgs;
|
|
};
|
|
}
|