mirror of
https://gitlab.com/TECHNOFAB/nixtest.git
synced 2025-12-12 10:10:09 +01:00
fix(lib): discard string context so derivations are not built instantly
This commit is contained in:
parent
3a974f218a
commit
5ae5c2dd45
1 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,8 @@
|
|||
fileRelative = lib.removePrefix ((toString self) + "/") pos.file;
|
||||
in {
|
||||
inherit type name description expected actual;
|
||||
actualDrv = actualDrv.drvPath or "";
|
||||
# discard string context, otherwise it's being built instantly which we don't want
|
||||
actualDrv = builtins.unsafeDiscardStringContext (actualDrv.drvPath or "");
|
||||
pos =
|
||||
if pos == null
|
||||
then ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue