Initial commit

This commit is contained in:
MiaFoxcat 2025-08-21 08:50:30 +02:00
parent 22fc87e7f7
commit 30b3c0aaf5
Signed by: MiaFoxcat
GPG key ID: EF241F186E9DD499
11 changed files with 2103 additions and 2 deletions

31
shell.nix Normal file
View file

@ -0,0 +1,31 @@
{
pkgs ? import <nixpkgs> { },
}:
pkgs.callPackage (
{
mkShell,
stdenv,
pkgs,
}:
mkShell {
strictDeps = true;
# host/target agnostic programs
depsBuildBuild = [
pkgs.picotool
pkgs.rustfmt
pkgs.rust-analyzer
];
# compilers & linkers & dependecy finding programs
nativeBuildInputs = [
pkgs.rustup
];
# libraries
buildInputs = [
];
shellHook = ''
export PATH="''${CARGO_HOME:-~/.cargo}/bin":"$PATH"
export PATH="''${RUSTUP_HOME:-~/.rustup}/toolchains/$RUSTC_VERSION-${stdenv.hostPlatform.rust.rustcTarget}/bin":"$PATH"
'';
}
) { }