diff options
| author | seth <[email protected]> | 2024-11-08 20:47:25 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-11-08 20:47:25 -0500 |
| commit | 0ff35842087b3b16e7e41caa6f794151b47f304a (patch) | |
| tree | 1fd0158e5833690bfc178b08ad51cfeb7a0f7d43 /default.nix | |
| parent | 1ec360f351022851e1a3bbe2b588c5c224b33331 (diff) | |
Clean up Nix Flake and packaging (#24)
* refactor(nix): split package.nix from flake.nix
* chore(nix): split checks; add more
* ci: run all nix checks
* ci: build in debug mode
* chore(nix): use versionCheckHook
this makes sure the version test is always run, and on the right package
* chore(nix): nix-filter -> lib.fileset
* feat(nix): support stable nix
* ci: fix clippy check
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..3730822 --- /dev/null +++ b/default.nix @@ -0,0 +1,17 @@ +{ + pkgs ? import nixpkgs { + inherit system; + config = { }; + overlays = [ ]; + }, + lib ? pkgs.lib, + nixpkgs ? <nixpkgs>, + system ? builtins.currentSystem, +}: + +let + nixForecastPackages = lib.makeScope pkgs.newScope (lib.flip (import ./overlay.nix) pkgs); +in +{ + inherit (nixForecastPackages) nix-forecast; +} |
