We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b65faef commit 6c73233Copy full SHA for 6c73233
nix/modules/project/settings/all.nix
@@ -318,11 +318,18 @@ in
318
for release-worthiness.
319
'';
320
impl = enable:
321
+ let
322
+ # A version that doesn't break against Rust derivations
323
+ # https://github.com/srid/haskell-flake/issues/292
324
+ buildFromSdist' = drv:
325
+ if !lib.hasAttr "override" drv then drv else buildFromSdist drv;
326
+ in
327
if enable then
- (pkg: lib.pipe pkg [
- buildFromSdist
- (x: log.traceDebug "${name}.buildFromSdist ${x.outPath}" x)
- ]) else null;
328
+ (pkg:
329
+ lib.pipe pkg [
330
+ buildFromSdist'
331
+ (x: log.traceDebug "${name}.buildFromSdist ${x.outPath}" x)
332
+ ]) else null;
333
};
334
335
removeReferencesTo = {
0 commit comments