updated things in the flake so the dev shell works now again

This commit is contained in:
2026-02-05 21:48:03 +01:00
parent e135a34d4c
commit a398911527
2 changed files with 32 additions and 28 deletions

View File

@@ -2,7 +2,7 @@
inputs = {
fenix.url = "github:nix-community/fenix";
naersk.url = "github:nix-community/naersk/master";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
@@ -101,23 +101,27 @@
in
{
shell = eachSystem (buildTargets) (
devShells = eachSystem (builtins.attrNames buildTargets) (
system:
let
pkgs = mkPkgs system null;
in
pkgs.mkShell {
buildInputs = with pkgs; [
gcc
openssl.dev
pkg-config
libiconv
rustc
cargo
sea-orm-cli
];
{
default = pkgs.mkShell {
name = "snooze-pal";
buildInputs = with pkgs; [
gcc
openssl.dev
pkg-config
libiconv
rustc
cargo
sea-orm-cli
];
};
}
);
packages = eachCrossSystem (builtins.attrNames buildTargets) (
buildSystem: targetSystem:
let