mirror of
https://gitlab.com/TECHNOFAB/nixtest.git
synced 2025-12-12 02:00:18 +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;
|
fileRelative = lib.removePrefix ((toString self) + "/") pos.file;
|
||||||
in {
|
in {
|
||||||
inherit type name description expected actual;
|
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 =
|
pos =
|
||||||
if pos == null
|
if pos == null
|
||||||
then ""
|
then ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue