generated from MiaFoxcat/Polyform-perimeter-nc-noai
Initial commit
This commit is contained in:
parent
22fc87e7f7
commit
30b3c0aaf5
11 changed files with 2103 additions and 2 deletions
31
shell.nix
Normal file
31
shell.nix
Normal 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"
|
||||
'';
|
||||
}
|
||||
) { }
|
Loading…
Add table
Add a link
Reference in a new issue