Add built Go binaries to $PATH
This commit is contained in:
parent
7f2be583d4
commit
83ae12e080
|
@ -8,6 +8,8 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
inherit (pkgs) lib;
|
||||||
|
|
||||||
desktop-config = import ./desktop.nix {
|
desktop-config = import ./desktop.nix {
|
||||||
inherit
|
inherit
|
||||||
config
|
config
|
||||||
|
@ -75,7 +77,12 @@ in
|
||||||
LANG = "en_GB.UTF-8";
|
LANG = "en_GB.UTF-8";
|
||||||
LC_ALL = "en_GB.UTF-8";
|
LC_ALL = "en_GB.UTF-8";
|
||||||
LC_CTYPE = "en_GB.UTF-8";
|
LC_CTYPE = "en_GB.UTF-8";
|
||||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
PATH = lib.concatStringsSep ":" [
|
||||||
|
"$PATH"
|
||||||
|
"$HOME/go/bin"
|
||||||
|
"./vendor/bin"
|
||||||
|
"./node_modules/.bin"
|
||||||
|
];
|
||||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||||
REPOS = "$HOME/Code";
|
REPOS = "$HOME/Code";
|
||||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
{ system }:
|
{ system }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
inherit (pkgs) lib;
|
||||||
|
|
||||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||||
|
|
||||||
shared-config = import "${self}/lib/shared/home-manager.nix" {
|
shared-config = import "${self}/lib/shared/home-manager.nix" {
|
||||||
|
@ -38,7 +40,12 @@ inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
DIRENV_LOG_FORMAT = "";
|
DIRENV_LOG_FORMAT = "";
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
PATH = lib.concatStringsSep ":" [
|
||||||
|
"$PATH"
|
||||||
|
"$HOME/go/bin"
|
||||||
|
"./vendor/bin"
|
||||||
|
"./node_modules/.bin"
|
||||||
|
];
|
||||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||||
REPOS = "$HOME/Code";
|
REPOS = "$HOME/Code";
|
||||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||||
|
|
Loading…
Reference in a new issue