updated things in the flake so the dev shell works now again
This commit is contained in:
28
flake.nix
28
flake.nix
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user