Sourcing env file with nix start

pull/636/head
kompotkot 2022-07-07 10:48:41 +00:00
rodzic ea706c09b1
commit 7a86f69bf7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -23,6 +23,7 @@ in rec {
schematic = scm.shell.overrideAttrs ( oldAttrs : {
shellHook = oldAttrs.shellHook + ''
[ -n "$ENV" -a "$ENV" != "dev" ] && export BUGSNAG=2b987ca13cd93a4931bb746aace204fb
source /home/moonstream/moonstream-secrets/pg.env
'';
});
}