Use new to-edn function to generate config.
This commit is contained in:
@@ -13,9 +13,11 @@
|
||||
url = "github:hercules-ci/gitignore.nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
to-edn.url = "git+https://git.fudo.org/fudo-public/to-edn.git";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils, clj2nix, build-tools-src, gitignore, ... }:
|
||||
outputs =
|
||||
{ self, nixpkgs, utils, clj2nix, build-tools-src, gitignore, to-edn, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages."${system}";
|
||||
@@ -25,8 +27,10 @@
|
||||
};
|
||||
in {
|
||||
lib = {
|
||||
mkClojureLib =
|
||||
pkgs.callPackage ./mkClojureLib.nix { inherit build-tools-jar; };
|
||||
mkClojureLib = pkgs.callPackage ./mkClojureLib.nix {
|
||||
inherit build-tools-jar;
|
||||
inherit (to-edn.lib) toEDN;
|
||||
};
|
||||
};
|
||||
devShell."${system}" =
|
||||
pkgs.mkShell { buildInputs = with pkgs; [ clojure clj2nix ]; };
|
||||
|
||||
Reference in New Issue
Block a user