added gitignore for result for nix

tried to build the nix
fixed it as well
This commit is contained in:
2026-07-13 17:50:50 -05:00
parent c64ed1be4e
commit 249a953d3c
6 changed files with 39 additions and 26 deletions
+18 -2
View File
@@ -1,5 +1,5 @@
{
description = "an opensource secrets management and distribution platform.";
description = "an open source secrets management and distribution platform.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
@@ -55,7 +55,23 @@
default = naerskLib.buildPackage {
name = "harbor";
version = "0.1.0";
src = ./crates/cli;
src = ./.;
cargoBuildOptions =
x:
x
++ [
"-p"
"cli"
];
# Cargo automatically forwards any env var starting with CARGO_ENV_ to your build script
CARGO_ENV_GIT_VERSION = if (inputs.self ? shortRev) then inputs.self.shortRev else "dirty";
nativeBuildInputs = with pkgs; [
sqlite
git
];
};
}
);