[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Search paths in packages
From: |
Roel Janssen |
Subject: |
Search paths in packages |
Date: |
Mon, 09 Oct 2017 12:43:59 +0200 |
User-agent: |
mu4e 0.9.18; emacs 25.1.1 |
Dear Guix,
I have a question about how search paths are handled in Guix.
So, I have a package that tries to set an environment variable:
DRMAA_LIBRARY_PATH.
So, I tried:
(native-search-paths
(list (search-path-specification
(variable "DRMAA_LIBRARY_PATH")
(files '("lib/libdrmaa.so")))))
But after running:
$ guix environment --container --ad-hoc <the-package> bash coreutils
... the DRMAA_LIBRARY_PATH is not set.
However, the manifest contains the search path. From inside the container:
$ cat $GUIX_ENVIRONMENT/manifest
(manifest
(version 3)
(packages
(("coreutils"
"8.27"
"out"
"/gnu/store/m9l0j7apf9ac7shqwi5sh4hsn12x4dnk-coreutils-8.27"
(propagated-inputs ())
(search-paths ()))
("bash"
"4.4.12"
"out"
"/gnu/store/b7y66db86k57vbb03nr4bfn9svmks4gf-bash-4.4.12"
(propagated-inputs ())
(search-paths
(("BASH_LOADABLES_PATH"
("lib/bash")
":"
directory
#f))))
("grid-engine-core"
"8.1.9"
"out"
"/gnu/store/jw80iilm964q2y0krnc1r67fxi07fix2-grid-engine-core-8.1.9"
(propagated-inputs ())
(search-paths
(("DRMAA_LIBRARY_PATH"
("lib/libdrmaa.so")
":"
directory
#f)))))))
Why isn't DRMAA_LIBRARY_PATH set in this case?
Kind regards,
Roel Janssen
- Search paths in packages,
Roel Janssen <=