Template : Add FHSEnv.nix thanks to Александр Бантьев.

This commit is contained in:
Dmitry Voronin 2024-02-28 14:55:19 +03:00
parent 47fc8ac39c
commit ca4feb305b

View file

@ -0,0 +1,20 @@
{
description = "";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs } @inputs: let
system = "x86_64-linux";
lib = nixpkgs.lib;
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.${system} = {
default = with pkgs; (buildFHSEnv {
name = "FHSEnv";
targetPkgs = pkgs: with pkgs; [ ];
}).env;
};
};
}