sage: refactor passthru on sage-env (#417592)
This commit is contained in:
@@ -102,6 +102,12 @@ in
|
||||
writeTextFile rec {
|
||||
name = "sage-env";
|
||||
destination = "/${name}";
|
||||
|
||||
passthru = {
|
||||
lib = sagelib;
|
||||
docbuild = sage-docbuild;
|
||||
};
|
||||
|
||||
text =
|
||||
''
|
||||
export PKG_CONFIG_PATH='${
|
||||
@@ -205,8 +211,3 @@ writeTextFile rec {
|
||||
}''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH"
|
||||
'';
|
||||
}
|
||||
// {
|
||||
# equivalent of `passthru`, which `writeTextFile` doesn't support
|
||||
lib = sagelib;
|
||||
docbuild = sage-docbuild;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user