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