[m]Devshell envar name change

This commit is contained in:
soraefir 2023-11-25 14:40:38 +01:00
parent 84d57009a1
commit 4c2b988996
3 changed files with 15 additions and 15 deletions

View File

@ -51,7 +51,7 @@
"pictures" = " ";
};
env_var = {
variable = "DEVSH";
variable = "SHELLENVTYPE";
default = "";
style =
"bg:#${config.colorScheme.colors.base04} fg:#${config.colorScheme.colors.base00}";

View File

@ -1,13 +1,13 @@
{ inputs, ... }:
let
forEachSystem =
inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ];
in forEachSystem (system:
let
overlays = import ../overlays { inherit pkgs; };
overrides = { custom = import ../pkgs { inherit pkgs; }; };
pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides;
in {
default = import ./devsh { inherit pkgs; };
devsh = import ./devsh { inherit pkgs; };
})
{ inputs, ... }:
let
forEachSystem =
inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ];
in forEachSystem (system:
let
overlays = import ../overlays { inherit pkgs; };
overrides = { custom = import ../pkgs { inherit pkgs; }; };
pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides;
in {
default = import ./devsh { inherit pkgs; };
devsh = import ./devsh { inherit pkgs; };
})

View File

@ -40,7 +40,7 @@ pkgs.mkShell {
#CUSTOM (custom...)
];
shellHook = ''
export DEVSH="DEV"
export SHELLENVTYPE="DEV"
export HTTP_PORT=8080
export HTTP_ADDR="0.0.0.0"
'';