defaultSystems NEVER works FFS

This commit is contained in:
niten 2022-05-29 10:22:07 -07:00
parent 399cde0558
commit 0d0734eeca
1 changed files with 21 additions and 20 deletions

View File

@ -16,8 +16,8 @@
};
outputs = { self, nixpkgs, utils, clj2nix, build-tools-src, gitignore, ... }:
utils.lib.eachDefaultSystem (system:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages."${system}";
build-tools-jar = pkgs.callPackage ./build.tools.nix {
inherit build-tools-src;
@ -28,12 +28,13 @@
inherit clj2nix;
};
in {
packages = utils.lib.flattenTree {
packages.${system} = utils.lib.flattenTree {
mkClojureLib =
pkgs.callPackage ./mkClojureLib.nix { inherit build-tools-jar; };
};
overlay = final: prev: {
inherit (self.packages.${system}) mkClojureLib;
inherit (self.packages."${system}") mkClojureLib;
};
};
});
}