From 0ff35842087b3b16e7e41caa6f794151b47f304a Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 8 Nov 2024 20:47:25 -0500 Subject: 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 --- default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 default.nix (limited to 'default.nix') 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 ? , + system ? builtins.currentSystem, +}: + +let + nixForecastPackages = lib.makeScope pkgs.newScope (lib.flip (import ./overlay.nix) pkgs); +in +{ + inherit (nixForecastPackages) nix-forecast; +} -- cgit v1.2.3