{ description = "nix devshell example"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; }; outputs = { self, nixpkgs }: let allSystems = [ "x86_64-linux" # 64bit AMD/Intel x86 ]; forAllSystems = fn: nixpkgs.lib.genAttrs allSystems (system: fn { pkgs = import nixpkgs { inherit system; }; }); in { # nix develop # # -- # $ nix develop #first devShells = forAllSystems ({ pkgs }: { default = pkgs.mkShell { name = "hugo"; nativeBuildInputs = [ pkgs.hugo ]; }; }); }; }