[m]Devshell envar name change
This commit is contained in:
parent
84d57009a1
commit
4c2b988996
@ -51,7 +51,7 @@
|
||||
"pictures" = " ";
|
||||
};
|
||||
env_var = {
|
||||
variable = "DEVSH";
|
||||
variable = "SHELLENVTYPE";
|
||||
default = "";
|
||||
style =
|
||||
"bg:#${config.colorScheme.colors.base04} fg:#${config.colorScheme.colors.base00}";
|
||||
|
@ -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; };
|
||||
})
|
||||
|
@ -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"
|
||||
'';
|
||||
|
Loading…
x
Reference in New Issue
Block a user