nordic2025/flake.nix

29 lines
608 B
Nix

{
description = "Dotnet flake for dotnet development";
outputs = {
self,
nixpkgs,
}: let
# pkgs = nixpkgs.legacyPackages.x86_64-linux;
pkgs = import nixpkgs {
system = "x86_64-linux";
config.permittedInsecurePackages = [
"dotnet-sdk-6.0.428"
];
};
in {
formatter.x86_64-linux = pkgs.alejandra;
devShells.x86_64-linux = {
default = with pkgs;
mkShell {
buildInputs = with pkgs; [
godot_4-mono
];
};
shellHook = ''
godot4-mono -e 2>/dev/null 1>&2 & disown
'';
};
};
}