From ca4feb305b7489144b0c3233236e2ec3226aa47e Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 28 Feb 2024 14:55:19 +0300 Subject: [PATCH] =?UTF-8?q?Template=20:=20Add=20FHSEnv.nix=20thanks=20to?= =?UTF-8?q?=20=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=91=D0=B0=D0=BD=D1=82=D1=8C=D0=B5=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- document/template/FHSEnv.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 document/template/FHSEnv.nix diff --git a/document/template/FHSEnv.nix b/document/template/FHSEnv.nix new file mode 100644 index 0000000..92f3809 --- /dev/null +++ b/document/template/FHSEnv.nix @@ -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; + }; + }; +}