WIP: add flake devShell #2

Draft
raboof wants to merge 1 commit from raboof/fediversity.eu:flake-devshell into main
2 changed files with 45 additions and 0 deletions
Showing only changes of commit 96642652ad - Show all commits

27
flake.lock Normal file
View file

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1726937504,
"narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9357f4f23713673f310988025d9dc261c20e70c6",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

18
flake.nix Normal file
View file

@ -0,0 +1,18 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }: {
devShells."x86_64-linux".default =
let
pkgs = nixpkgs.legacyPackages."x86_64-linux";
in
pkgs.mkShell {
packages = [
pkgs.hugo
pkgs.go
pkgs.nodejs
];
};
};
}