diff --git a/flake.nix b/flake.nix index 1993f03..8362afc 100644 --- a/flake.nix +++ b/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; + }; + + }; }