Skip to content

Commit

Permalink
Remove hacky flake schemas alternative
Browse files Browse the repository at this point in the history
That was causing issues, and now we have a better solution:
NixOS/nix#8892
  • Loading branch information
jlesquembre committed Dec 1, 2023
1 parent 0ae59a9 commit 21a41f5
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,28 +41,17 @@
in
{
packages = eachSystem (pkgs:
concatMapAttrs
(k: v:
if isFunction v then
{
${k} = {
type = "derivation";
name = "derivation-function";
__functor = _: v;
};
}
else { ${k} = v; })
{
inherit (pkgs) clj-builder deps-lock mk-deps-cache
mkCljBin mkCljLib mkGraalBin customJdk
cljHooks
mkBabashka bbTasksFromFile;
{
inherit (pkgs) clj-builder deps-lock mk-deps-cache
mkCljBin mkCljLib mkGraalBin customJdk
cljHooks
mkBabashka bbTasksFromFile;

babashka = pkgs.mkBabashka { };
babashka-unwrapped = pkgs.mkBabashka { wrap = false; };
babashka = pkgs.mkBabashka { };
babashka-unwrapped = pkgs.mkBabashka { wrap = false; };

docs = pkgs.callPackage ./extra-pkgs/docs { inherit pkgs; };
});
docs = pkgs.callPackage ./extra-pkgs/docs { inherit pkgs; };
});

devShells = eachSystem (pkgs: {
default =
Expand Down

0 comments on commit 21a41f5

Please sign in to comment.