From 66ccfe4b9151a45aecd7ae2228253370b4c057f9 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 26 May 2023 10:29:08 -0400 Subject: dub nix --- dub.json | 4 +--- flake.lock | 6 +++--- flake.nix | 2 +- org/config_dub.org | 4 +--- org/config_nix.org | 2 +- 5 files changed, 7 insertions(+), 11 deletions(-) diff --git a/dub.json b/dub.json index 530a9fe..2671128 100644 --- a/dub.json +++ b/dub.json @@ -5,7 +5,7 @@ "copyright": "Copyright © 2015 - 2023 Ralph Amissah", "name": "spine", "version": "0.12.0", - "description": "a sisu like document parser", + "description": "an object-centric sisu-like document parser", "homepage": "https://sisudoc.org", "license": "AGPL-3.0+", "targetPath": "./bin", @@ -13,7 +13,6 @@ "stringImportPaths": [ "./views" ], "buildRequirements": [ "allowWarnings" ], "targetType": "executable", - "platforms": [ "posix" ], "buildTypes": { "dmd": { "dflags": [ "-J=views", "-I=src/doc_reform" ], @@ -59,7 +58,6 @@ "configurations": [ { "name": "d2sqlite3", - "d2sqlite3": "with-lib", "targetType": "library", "systemDependencies": "SQLite version >= 3.8.7", "libs": [ "sqlite3" ], diff --git a/flake.lock b/flake.lock index 69c0787..a85e13f 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1684668519, - "narHash": "sha256-KkVvlXTqdLLwko9Y0p1Xv6KQ9QTcQorrU098cGilb7c=", + "lastModified": 1684973047, + "narHash": "sha256-ZLnSr35L6C49pCZS9fZCCqkIKNAeQzykov2QfosNG9w=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "85340996ba67cc02f01ba324e18b1306892ed6f5", + "rev": "21eb6c6ba74dcbe3ea5926ee46287300fb066630", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 30f6bca..7e89065 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,7 @@ devEnv = ./.envrc; # ./shell.nix; # ./default.nix; supportedSystems = ["x86_64-linux"]; # [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; forAllSystems = nixpkgs.lib.genAttrs supportedSystems; - nixpkgsFor = forAllSystems (system: import nixpkgs {inherit system;}); # nixpkgs instantiated for supported system types. + nixpkgsFor = forAllSystems (system: import nixpkgs {inherit system;}); # nixpkgs instantiated for supported system types checkPhase = '' runHook preCheck dub test --combined --skip-registry=all diff --git a/org/config_dub.org b/org/config_dub.org index ae25f5a..6f107fa 100644 --- a/org/config_dub.org +++ b/org/config_dub.org @@ -54,7 +54,7 @@ "copyright": "Copyright © 2015 - 2023 Ralph Amissah", "name": "spine", "version": "<>", - "description": "a sisu like document parser", + "description": "an object-centric sisu-like document parser", "homepage": "https://sisudoc.org", "license": "AGPL-3.0+", "targetPath": "./bin", @@ -62,7 +62,6 @@ "stringImportPaths": [ "./views" ], "buildRequirements": [ "allowWarnings" ], "targetType": "executable", - "platforms": [ "posix" ], "buildTypes": { "dmd": { "dflags": [ "-J=views", "-I=src/doc_reform" ], @@ -108,7 +107,6 @@ "configurations": [ { "name": "d2sqlite3", - "d2sqlite3": "with-lib", "targetType": "library", "systemDependencies": "SQLite version >= 3.8.7", "libs": [ "sqlite3" ], diff --git a/org/config_nix.org b/org/config_nix.org index a12a04f..e5e0739 100644 --- a/org/config_nix.org +++ b/org/config_nix.org @@ -36,7 +36,7 @@ devEnv = ./.envrc; # ./shell.nix; # ./default.nix; supportedSystems = ["x86_64-linux"]; # [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; forAllSystems = nixpkgs.lib.genAttrs supportedSystems; - nixpkgsFor = forAllSystems (system: import nixpkgs {inherit system;}); # nixpkgs instantiated for supported system types. + nixpkgsFor = forAllSystems (system: import nixpkgs {inherit system;}); # nixpkgs instantiated for supported system types checkPhase = '' runHook preCheck dub test --combined --skip-registry=all -- cgit v1.2.3