Created
December 29, 2025 19:40
-
-
Save cemdrk/53044b9f592cd921d79e5544c82b79c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| description = "flake empty env"; | |
| inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1"; # unstable Nixpkgs | |
| outputs = | |
| { self, ... }@inputs: | |
| let | |
| supportedSystems = [ | |
| "x86_64-linux" # 64-bit Intel/AMD Linux | |
| "aarch64-linux" # 64-bit ARM Linux | |
| "x86_64-darwin" # 64-bit Intel macOS | |
| "aarch64-darwin" # 64-bit ARM macOS | |
| ]; | |
| forEachSupportedSystem = | |
| f: | |
| inputs.nixpkgs.lib.genAttrs supportedSystems ( | |
| system: | |
| f { | |
| pkgs = import inputs.nixpkgs { inherit system; }; | |
| } | |
| ); | |
| in | |
| { | |
| devShells = forEachSupportedSystem ( | |
| { pkgs }: | |
| { | |
| default = pkgs.mkShellNoCC { | |
| packages = with pkgs; [ nodejs_24 ]; | |
| env = { }; | |
| shellHook = '' | |
| export LANG=en_US.UTF-8 | |
| export LC_ALL=en_US.UTF-8 | |
| ''; | |
| }; | |
| } | |
| ); | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment