defaultSystems NEVER works FFS
This commit is contained in:
parent
399cde0558
commit
0d0734eeca
41
flake.nix
41
flake.nix
|
@ -16,24 +16,25 @@
|
|||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils, clj2nix, build-tools-src, gitignore, ... }:
|
||||
utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages."${system}";
|
||||
build-tools-jar = pkgs.callPackage ./build.tools.nix {
|
||||
inherit build-tools-src;
|
||||
inherit (gitignore.lib) gitignoreSource;
|
||||
};
|
||||
update-deps = pkgs.callPackage ./update-deps.nix {
|
||||
inherit build-tools-src;
|
||||
inherit clj2nix;
|
||||
};
|
||||
in {
|
||||
packages = utils.lib.flattenTree {
|
||||
mkClojureLib =
|
||||
pkgs.callPackage ./mkClojureLib.nix { inherit build-tools-jar; };
|
||||
};
|
||||
overlay = final: prev: {
|
||||
inherit (self.packages.${system}) mkClojureLib;
|
||||
};
|
||||
});
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages."${system}";
|
||||
build-tools-jar = pkgs.callPackage ./build.tools.nix {
|
||||
inherit build-tools-src;
|
||||
inherit (gitignore.lib) gitignoreSource;
|
||||
};
|
||||
update-deps = pkgs.callPackage ./update-deps.nix {
|
||||
inherit build-tools-src;
|
||||
inherit clj2nix;
|
||||
};
|
||||
in {
|
||||
packages.${system} = utils.lib.flattenTree {
|
||||
mkClojureLib =
|
||||
pkgs.callPackage ./mkClojureLib.nix { inherit build-tools-jar; };
|
||||
};
|
||||
overlay = final: prev: {
|
||||
inherit (self.packages."${system}") mkClojureLib;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue