fix: use correct specifications path

This commit is contained in:
Yusuf Bera Ertan 2022-11-16 04:11:40 +03:00
parent aae9c587eb
commit 08543bba94
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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