This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
postgres-c = import ./postgres-c.nix { inherit self system pkgs; };
|
||||
pure-c = import ./pure-c.nix { inherit self system pkgs; };
|
||||
rust = import ./rust.nix { inherit self system pkgs; };
|
||||
ratatui = import ./ratatui.nix { inherit self system pkgs; };
|
||||
haskell = import ./haskell.nix { inherit self system pkgs; };
|
||||
neuro = import ./neuro.nix { inherit self system pkgs; };
|
||||
xmpp = import ./xmpp.nix { inherit self system pkgs; };
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
self,
|
||||
pkgs,
|
||||
system
|
||||
}: let
|
||||
rustToolchain =
|
||||
if builtins.pathExists ./rust-toolchain.toml
|
||||
then pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml
|
||||
else pkgs.pkgsBuildHost.rust-bin.stable."1.81.0".default;
|
||||
in
|
||||
self.devShells.${system}.default
|
||||
// (pkgs.mkShell {
|
||||
nativeBuildInputs = [
|
||||
rustToolchain
|
||||
pkgs.pkg-config
|
||||
pkgs.gcc
|
||||
pkgs.gnumake
|
||||
];
|
||||
})
|
||||
Reference in New Issue
Block a user