This commit is contained in:
Snorre 2025-04-04 15:51:46 +02:00
commit 9f1303fdc3
2 changed files with 48 additions and 0 deletions

23
flake.lock Normal file
View file

@ -0,0 +1,23 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 0,
"narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=",
"path": "/nix/store/irknf7niks2djxz4csh7sr44wwrs082y-source",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

25
flake.nix Normal file
View file

@ -0,0 +1,25 @@
{
description = "Dotnet flake for dotnet development";
outputs = {
self,
nixpkgs,
}: let
# pkgs = nixpkgs.legacyPackages.x86_64-linux;
pkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
in {
formatter.x86_64-linux = pkgs.alejandra;
devShells.x86_64-linux = {
default = with pkgs;
mkShell {
buildInputs = with pkgs; [
unityhub
vscode
];
};
};
};
}