mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2025-05-01 09:34:23 +00:00
Save app nix description to config directory
This commit is contained in:
parent
f18d55bd27
commit
6ebc562599
2 changed files with 13 additions and 1 deletions
2
appvm.go
2
appvm.go
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue