...Or maybe it just didn't push.
This commit is contained in:
parent
f43bc32ce0
commit
a7e058e809
71
flake.nix
71
flake.nix
|
@ -11,30 +11,55 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, utils, clj-nix, ... }:
|
outputs = { self, nixpkgs, utils, clj-nix, ... }:
|
||||||
utils.lib.eachDefaultSystem (system:
|
let
|
||||||
let
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages."${system}";
|
pkgs = nixpkgs.legacyPackages."${system}";
|
||||||
cljpkgs = clj-nix.packages."${system}";
|
cljpkgs = clj-nix.packages."${system}";
|
||||||
update-deps = pkgs.writeShellScriptBin "update-deps.sh" ''
|
update-deps = pkgs.writeShellScriptBin "update-deps.sh" ''
|
||||||
${clj-nix.packages."${system}".deps-lock}/bin/deps-lock
|
${clj-nix.packages."${system}".deps-lock}/bin/deps-lock
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
packages = {
|
packages."${system}".fudo-pricebot = cljpkgs.mkCljBin {
|
||||||
fudo-pricebot = cljpkgs.mkCljBin {
|
projectSrc = ./.;
|
||||||
projectSrc = ./.;
|
name = "org.fudo/pricebot";
|
||||||
name = "org.fudo/pricebot";
|
main-ns = "pricebot.core";
|
||||||
main-ns = "pricebot.core";
|
jdkRunner = pkgs.jdk17_headless;
|
||||||
jdkRunner = pkgs.jdk17_headless;
|
version = "0.1";
|
||||||
version = "0.1";
|
};
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
defaultPackage = self.packages."${system}".fudo-pricebot;
|
defaultPackage = self.packages."${system}".fudo-pricebot;
|
||||||
|
|
||||||
nixosModule =
|
nixosModule = import ./module.nix self.packages."${system}".fudo-pricebot;
|
||||||
import ./module.nix self.packages."${system}".fudo-pricebot;
|
|
||||||
|
|
||||||
devShell =
|
devShell =
|
||||||
pkgs.mkShell { buildInputs = with pkgs; [ clojure update-deps ]; };
|
pkgs.mkShell { buildInputs = with pkgs; [ clojure update-deps ]; };
|
||||||
});
|
};
|
||||||
|
|
||||||
|
# outputs = { self, nixpkgs, utils, clj-nix, ... }:
|
||||||
|
# utils.lib.eachDefaultSystem (system:
|
||||||
|
# let
|
||||||
|
# pkgs = nixpkgs.legacyPackages."${system}";
|
||||||
|
# cljpkgs = clj-nix.packages."${system}";
|
||||||
|
# update-deps = pkgs.writeShellScriptBin "update-deps.sh" ''
|
||||||
|
# ${clj-nix.packages."${system}".deps-lock}/bin/deps-lock
|
||||||
|
# '';
|
||||||
|
# in {
|
||||||
|
# packages = {
|
||||||
|
# fudo-pricebot = cljpkgs.mkCljBin {
|
||||||
|
# projectSrc = ./.;
|
||||||
|
# name = "org.fudo/pricebot";
|
||||||
|
# main-ns = "pricebot.core";
|
||||||
|
# jdkRunner = pkgs.jdk17_headless;
|
||||||
|
# version = "0.1";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
|
# defaultPackage = self.packages."${system}".fudo-pricebot;
|
||||||
|
|
||||||
|
# nixosModule =
|
||||||
|
# import ./module.nix self.packages."${system}".fudo-pricebot;
|
||||||
|
|
||||||
|
# devShell =
|
||||||
|
# pkgs.mkShell { buildInputs = with pkgs; [ clojure update-deps ]; };
|
||||||
|
# });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue