Compare commits
No commits in common. "7238073b682106ff17b988ad04dde22df8f49e11" and "8acf38fd5a09f3ece9366af99551f552fdcad201" have entirely different histories.
7238073b68
...
8acf38fd5a
1 changed files with 2 additions and 10 deletions
12
flake.nix
12
flake.nix
|
@ -11,19 +11,11 @@
|
|||
pkgs = import nixpkgs { inherit system; };
|
||||
naersk-lib = pkgs.callPackage naersk { };
|
||||
in
|
||||
rec {
|
||||
{
|
||||
defaultPackage = naersk-lib.buildPackage ./.;
|
||||
devShell = with pkgs; mkShell {
|
||||
buildInputs = [ cargo rustc rustfmt pre-commit rustPackages.clippy ];
|
||||
buildInputs = [ cargo rustc rustfmt pre-commit rustPackages.clippy pkg-config openssl ];
|
||||
RUST_SRC_PATH = rustPlatform.rustLibSrc;
|
||||
};
|
||||
dockerImage = pkgs.dockerTools.buildImage {
|
||||
name = "smolhaj-ng";
|
||||
tag = "latest";
|
||||
|
||||
config = {
|
||||
Cmd = [ "${naersk-lib.buildPackage ./.}/bin/smolhaj-ng" ];
|
||||
};
|
||||
};
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue