Make some working scaffolding

This commit is contained in:
2024-04-11 20:41:00 +02:00
parent 0cb5b19bce
commit f4a88f507f
8 changed files with 322 additions and 7 deletions

View File

@@ -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 @@
}
];
};
};
});
}