freebsd: fix eval with Nix < 2.6

This commit is contained in:
sternenseemann 2024-05-20 14:00:20 +02:00
parent 08c97909c2
commit 8dbe89fbe0
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ let
sourceData = versions.${self.branch} or (throw (badBranchError self.branch));
versionData = self.sourceData.version;
buildFreebsd = otherSplices.selfBuildHost;
patchesRoot = ./patches/${self.versionData.revision};
patchesRoot = ./patches + "/${self.versionData.revision}";
}
// extraArgs
) self;

View File

@ -17,7 +17,7 @@ lib.packagesFromDirectoryRecursive {
}
// {
inherit sourceData patchesRoot versionData;
patches = ./patches/${self.versionData.revision};
patches = ./patches + "/${self.versionData.revision}";
# Keep the crawled portion of Nixpkgs finite.
buildFreebsd = lib.dontRecurseIntoAttrs buildFreebsd;