Skip to content

Commit 7984286

Browse files
committed
fix missing curly in flake.nix, format
1 parent 51702f2 commit 7984286

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

flake.nix

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@
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;
@@ -40,19 +40,20 @@
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
}

0 commit comments

Comments
 (0)