From 64ac7a6ef3a903959ffe4c9d621ec5451104de29 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 15 Aug 2024 21:07:58 +0300 Subject: [PATCH] provide a microfetch package ...and alias default package to it. I like this convention better --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index b5035c3..a481c30 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,8 @@ pkgsForEach = nixpkgs.legacyPackages; in { packages = forEachSystem (system: { - default = pkgsForEach.${system}.callPackage ./nix/package.nix {}; + default = self.packages.${system}.microfetch; + microfetch = pkgsForEach.${system}.callPackage ./nix/package.nix {}; }); devShells = forEachSystem (system: {