loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add nix flake for dev shell (#30967)

To try it you need **nix** installed `nix-daemon ` running and your user
has to be member of the **nix-users** group. Or use NixOS.

then by just:
```sh
nix develop -c $SHELL
```
a dedicated development environment with all needed packages will be
created.

(cherry picked from commit de6f0488a67ad65bd2ac40356b08a78a365414cd)

authored by

6543 and committed by
Earl Warren
2717d7bd 07fe5a8b

+98
+61
flake.lock
··· 1 + { 2 + "nodes": { 3 + "flake-utils": { 4 + "inputs": { 5 + "systems": "systems" 6 + }, 7 + "locked": { 8 + "lastModified": 1710146030, 9 + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", 10 + "owner": "numtide", 11 + "repo": "flake-utils", 12 + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", 13 + "type": "github" 14 + }, 15 + "original": { 16 + "owner": "numtide", 17 + "repo": "flake-utils", 18 + "type": "github" 19 + } 20 + }, 21 + "nixpkgs": { 22 + "locked": { 23 + "lastModified": 1715534503, 24 + "narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=", 25 + "owner": "nixos", 26 + "repo": "nixpkgs", 27 + "rev": "2057814051972fa1453ddfb0d98badbea9b83c06", 28 + "type": "github" 29 + }, 30 + "original": { 31 + "owner": "nixos", 32 + "ref": "nixos-unstable", 33 + "repo": "nixpkgs", 34 + "type": "github" 35 + } 36 + }, 37 + "root": { 38 + "inputs": { 39 + "flake-utils": "flake-utils", 40 + "nixpkgs": "nixpkgs" 41 + } 42 + }, 43 + "systems": { 44 + "locked": { 45 + "lastModified": 1681028828, 46 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 47 + "owner": "nix-systems", 48 + "repo": "default", 49 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 50 + "type": "github" 51 + }, 52 + "original": { 53 + "owner": "nix-systems", 54 + "repo": "default", 55 + "type": "github" 56 + } 57 + } 58 + }, 59 + "root": "root", 60 + "version": 7 61 + }
+37
flake.nix
··· 1 + { 2 + inputs = { 3 + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; 4 + flake-utils.url = "github:numtide/flake-utils"; 5 + }; 6 + outputs = 7 + { nixpkgs, flake-utils, ... }: 8 + flake-utils.lib.eachDefaultSystem ( 9 + system: 10 + let 11 + pkgs = nixpkgs.legacyPackages.${system}; 12 + in 13 + { 14 + devShells.default = pkgs.mkShell { 15 + buildInputs = with pkgs; [ 16 + # generic 17 + git 18 + git-lfs 19 + gnumake 20 + gnused 21 + gnutar 22 + gzip 23 + 24 + # frontend 25 + nodejs_20 26 + 27 + # linting 28 + python312 29 + poetry 30 + 31 + # backend 32 + go_1_22 33 + ]; 34 + }; 35 + } 36 + ); 37 + }