Skip to content

Commit

Permalink
fix: nix build
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda committed Jan 1, 2025
1 parent dea2c51 commit 6d07c52
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,14 @@ in
pname = manifest.name;
version = manifest.version;
cargoLock.lockFile = ./Cargo.lock;
# Some crates look for pkg-config to locate openssl.
nativeBuildInputs = [
pkgs.pkg-config
];

# Provide OpenSSL to the build environment.
buildInputs = [
pkgs.openssl
];
src = pkgs.lib.cleanSource ./.;
}

0 comments on commit 6d07c52

Please sign in to comment.