Merge remote-tracking branch 'origin/master' into flakes

This commit is contained in:
Eelco Dolstra 2020-01-28 13:19:30 +01:00
commit ab41e9d543
2 changed files with 3 additions and 1 deletions

View file

@ -2580,6 +2580,7 @@ void DerivationGoal::writeStructuredAttrs()
}
writeFile(tmpDir + "/.attrs.json", rewriteStrings(json.dump(), inputRewrites));
chownToBuilder(tmpDir + "/.attrs.json");
/* As a convenience to bash scripts, write a shell file that
maps all attributes that are representable in bash -
@ -2648,6 +2649,7 @@ void DerivationGoal::writeStructuredAttrs()
}
writeFile(tmpDir + "/.attrs.sh", rewriteStrings(jsonSh, inputRewrites));
chownToBuilder(tmpDir + "/.attrs.sh");
}

View file

@ -7,7 +7,7 @@ namespace nix {
/* See path.rs. */
struct StorePath;
struct Store;
class Store;
extern "C" {
void ffi_StorePath_drop(void *);