From 08543bba94244b1a0db29ed33417a7e72d65b9d8 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Wed, 16 Nov 2022 04:11:40 +0300 Subject: [PATCH] fix: use correct specifications path --- src/modules/utils/implementation.nix | 4 ++-- tests/integration/tests/verify-dream-lock-example/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/utils/implementation.nix b/src/modules/utils/implementation.nix index 3ce3e471..259ae175 100644 --- a/src/modules/utils/implementation.nix +++ b/src/modules/utils/implementation.nix @@ -196,8 +196,8 @@ ${python3.pkgs.jsonschema}/bin/jsonschema \ --instance $dreamLockPath \ --output pretty \ - --base-uri file:${../specifications}/ \ - ${../specifications}/dream-lock-schema.json + --base-uri file:${../../specifications}/ \ + ${../../specifications}/dream-lock-schema.json # add dream-lock.json to git if git rev-parse --show-toplevel &>/dev/null; then diff --git a/tests/integration/tests/verify-dream-lock-example/default.nix b/tests/integration/tests/verify-dream-lock-example/default.nix index 17b4cd8a..9ae025e3 100644 --- a/tests/integration/tests/verify-dream-lock-example/default.nix +++ b/tests/integration/tests/verify-dream-lock-example/default.nix @@ -1,14 +1,14 @@ { lib, pkgs, - utils, + framework, self, ... }: let l = lib // builtins; specificationsDir = ../../../../src/specifications; in - utils.writePureShellScript + framework.utils.writePureShellScript (with pkgs; [ coreutils nix