mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
freebsd: fix eval with Nix < 2.6
This commit is contained in:
parent
08c97909c2
commit
8dbe89fbe0
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user