feat(devShells): shell for nix language

This commit is contained in:
Sk7Str1p3 2026-04-19 09:03:51 +03:00
parent 4681e362e9
commit 9036985dde
No known key found for this signature in database
GPG key ID: 4DD995933D06D43B
5 changed files with 48 additions and 1 deletions

25
devShells/nix/flake.nix Normal file
View file

@ -0,0 +1,25 @@
{
description = "Development shell for nix projects";
inputs.nixpkgs = "github:nixos/nixpkgs";
inputs.utils = "github:numtide/flake-utils";
outputs =
{
self,
nixpkgs,
utils,
}:
utils.lib.eachDefaultSystem (
sys:
let
pkgs = nixpkgs.legacyPackages.${sys};
in
{
devShells.default = pkgs.mkShell {
name = "nix";
packages = map (p: p) (builtins.attrValues (import ./. pkgs).packages);
};
}
);
}