techtree/techtree-manager/shell.nix
Rahix 04047052e3 manager: Add nix shell
This nix shell will also be used as the CI environment for this tool.
2025-05-22 09:49:08 +02:00

20 lines
408 B
Nix

# From 2025-05-21
let pkgs = import (fetchTarball("https://github.com/NixOS/nixpkgs/archive/36ecfe6216f0aa7f2a1ffe5aafc2c0eae6c8cdcf.tar.gz")) {};
in pkgs.mkShell {
buildInputs = [
# Rust
pkgs.cargo
pkgs.rustc
pkgs.rustfmt
# Dependencies
pkgs.openssl
];
shellHook = ''
export OPENSSL_DIR="${pkgs.openssl.dev}"
export OPENSSL_LIB_DIR="${pkgs.openssl.out}/lib"
'';
}