kopia lustrzana https://github.com/bugout-dev/moonstream
Merge pull request #636 from bugout-dev/scm-source-env
Sourcing env file with nix start and new commit with fixpull/651/head
commit
43162ac7d2
|
@ -15,7 +15,7 @@ let
|
|||
(getEnv "MDP_GIT")
|
||||
(fetchGit {
|
||||
url = "git@gitlab.com:mixrank/mdp.git";
|
||||
rev = "57e5d9903235a171c5be76ebb876d66215e2ed7c";
|
||||
rev = "309e04f3f646847af3b7c084b01cfd72e1db92c8";
|
||||
})
|
||||
] ++ scm_repos;
|
||||
});
|
||||
|
@ -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
|
||||
'';
|
||||
});
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue