File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 1717 , # The path to the lockfile, e.g. `"./deps.lock.json"`
1818 lockfile
1919 , # Specify the maven repositories to use, overriding the defaults
20- mavenRepos ?
21- [
20+ mavenRepos ? [
2221 "https://repo1.maven.org/maven2/"
2322 "https://repo.clojars.org/"
2423 ]
2524 , # the command to produce the dependencies
2625 command
2726 } :
28- let lockfile = ( ( import ./default.nix { inherit pkgs ; } ) . lockfile { inherit src lockfile mavenRepos ; } ) ;
29- in {
30- locker = lockfile . commandLocker command ;
31- homeDirectory = lockfile . homeDirectory ;
32- shellEnv = lockfile . shellEnv ;
33- } ;
34- } ;
27+ let lockfile = ( ( import ./default.nix { inherit pkgs ; } ) . lockfile { inherit src lockfile mavenRepos ; } ) ;
28+ in
29+ {
30+ locker = lockfile . commandLocker command ;
31+ homeDirectory = lockfile . homeDirectory ;
32+ shellEnv = lockfile . shellEnv ;
33+ } ;
34+ } ;
3535
3636 overlays . default = final : prev : {
3737 standaloneLocker = ( import ./default.nix { pkgs = final ; } ) . standaloneLocker ;
4040 templates . default = {
4141 path = ./example ;
4242 description = "A template for using clojure-nix-locker." ;
43+ } ;
4344 }
4445 //
4546 flake-utils . lib . eachDefaultSystem ( system :
4647 let pkgs = import nixpkgs {
4748 inherit system ;
4849 overlays = [ self . overlays . default ] ;
4950 } ;
50- in {
51+ in
52+ {
5153 packages = rec {
5254 inherit ( pkgs ) standaloneLocker ;
5355 default = standaloneLocker ;
5456 } ;
5557 }
5658 ) ;
57-
5859}
You can’t perform that action at this time.
0 commit comments