[m]Devshell envar name change
This commit is contained in:
parent
84d57009a1
commit
4c2b988996
@ -51,7 +51,7 @@
|
|||||||
"pictures" = " ";
|
"pictures" = " ";
|
||||||
};
|
};
|
||||||
env_var = {
|
env_var = {
|
||||||
variable = "DEVSH";
|
variable = "SHELLENVTYPE";
|
||||||
default = "";
|
default = "";
|
||||||
style =
|
style =
|
||||||
"bg:#${config.colorScheme.colors.base04} fg:#${config.colorScheme.colors.base00}";
|
"bg:#${config.colorScheme.colors.base04} fg:#${config.colorScheme.colors.base00}";
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
{ inputs, ... }:
|
{ inputs, ... }:
|
||||||
let
|
let
|
||||||
forEachSystem =
|
forEachSystem =
|
||||||
inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ];
|
inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ];
|
||||||
in forEachSystem (system:
|
in forEachSystem (system:
|
||||||
let
|
let
|
||||||
overlays = import ../overlays { inherit pkgs; };
|
overlays = import ../overlays { inherit pkgs; };
|
||||||
overrides = { custom = import ../pkgs { inherit pkgs; }; };
|
overrides = { custom = import ../pkgs { inherit pkgs; }; };
|
||||||
pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides;
|
pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides;
|
||||||
in {
|
in {
|
||||||
default = import ./devsh { inherit pkgs; };
|
default = import ./devsh { inherit pkgs; };
|
||||||
devsh = import ./devsh { inherit pkgs; };
|
devsh = import ./devsh { inherit pkgs; };
|
||||||
})
|
})
|
||||||
|
@ -40,7 +40,7 @@ pkgs.mkShell {
|
|||||||
#CUSTOM (custom...)
|
#CUSTOM (custom...)
|
||||||
];
|
];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export DEVSH="DEV"
|
export SHELLENVTYPE="DEV"
|
||||||
export HTTP_PORT=8080
|
export HTTP_PORT=8080
|
||||||
export HTTP_ADDR="0.0.0.0"
|
export HTTP_ADDR="0.0.0.0"
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user