From 1f3c9ebe2a74717a4a371b46696d661d720a6ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillem=20C=C3=B3rdoba?= Date: Tue, 20 Aug 2024 22:09:56 +0200 Subject: [PATCH] Fixed yaml import --- nix/fixtures/service-repo/dna/dna.yaml | 2 +- nix/fixtures/service-repo/flake.lock | 2 +- nix/import-yaml.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/fixtures/service-repo/dna/dna.yaml b/nix/fixtures/service-repo/dna/dna.yaml index 21c41c8..cb75470 100644 --- a/nix/fixtures/service-repo/dna/dna.yaml +++ b/nix/fixtures/service-repo/dna/dna.yaml @@ -15,5 +15,5 @@ coordinator: - name: my_zome dylib: ~ dependencies: - - name: my_zome_integrity + - name: my_zome_integrity hash: ~ diff --git a/nix/fixtures/service-repo/flake.lock b/nix/fixtures/service-repo/flake.lock index c58acfa..b15d6a3 100644 --- a/nix/fixtures/service-repo/flake.lock +++ b/nix/fixtures/service-repo/flake.lock @@ -4091,7 +4091,7 @@ }, "locked": { "lastModified": 0, - "narHash": "sha256-4uL6QkBOs+lMBlpcen2yaLv2IVWgBgV8ctfXpAVJwB8=", + "narHash": "sha256-ER7J3rt224txS1sZ4GR4J8QFAuz2c471UTq8zboalnI=", "path": "./../../..", "type": "path" }, diff --git a/nix/import-yaml.nix b/nix/import-yaml.nix index 2bec291..e69cd69 100644 --- a/nix/import-yaml.nix +++ b/nix/import-yaml.nix @@ -50,7 +50,7 @@ let else ( if trimmedValue == "true" then true else if trimmedValue == "false" then false - else value + else trimmedValue ) )) )