Make some working scaffolding
This commit is contained in:
15
flake.nix
15
flake.nix
@@ -7,12 +7,14 @@
|
||||
clj-nix.url = "github:jlesquembre/clj-nix";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, clj-nix }:
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
clj-nix,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system: {
|
||||
|
||||
packages = {
|
||||
|
||||
default = clj-nix.lib.mkCljApp {
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
modules = [
|
||||
@@ -20,8 +22,8 @@
|
||||
# https://jlesquembre.github.io/clj-nix/options/
|
||||
{
|
||||
projectSrc = ./.;
|
||||
name = "me.lafuente/cljdemo";
|
||||
main-ns = "hello.core";
|
||||
name = "com.bartlomiejpluta.packer";
|
||||
main-ns = "packer.main";
|
||||
|
||||
nativeImage.enable = true;
|
||||
|
||||
@@ -29,7 +31,6 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user