Save app nix description to config directory

This commit is contained in:
Mikhail Klementev 2019-12-30 13:41:33 +00:00
parent f18d55bd27
commit 6ebc562599
No known key found for this signature in database
GPG key ID: BE44DA8C062D87DC
2 changed files with 13 additions and 1 deletions

View file

@ -46,6 +46,8 @@ func getAppVMExpressionPath(name string) (paths []string, config string) {
paths = strings.Split(os.Getenv("NIX_PATH"), ":")
config = "nix/" + name + ".nix"
paths = append(paths, configDir)
for _, a := range paths {
searchpath := a
log.Print("Searching " + searchpath + " for expressions")