From ce68b742ea80b9199fba3d7073464a24b8355ed8 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 11 Feb 2023 22:16:49 -0500 Subject: nix flake check --- org/config_nix.org | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'org') diff --git a/org/config_nix.org b/org/config_nix.org index 5bf9d72..6455b5a 100644 --- a/org/config_nix.org +++ b/org/config_nix.org @@ -107,6 +107,12 @@ export sisuSQLdb='spine.search.db' default = sisu.packages.${system}.default; #vendorSha256 = "sha256-0Q00000000000000000000000000000000000000000="; }); + apps = forAllSystems (system: { + default = { + type = "app"; + program = "${self.packages.${system}.default}/bin/sisu"; + }; + }); devShells = forAllSystems (system: let pkgs = nixpkgsFor.${system}; @@ -139,14 +145,14 @@ export sisuSQLdb='spine.search.db' #export sisuSqlite="sisu --very-verbose --sqlite-update --sqlite-db-path=\"$sisuDBpath\" --sqlite-db-filename=\"sisu.search.db\" --output=\"\$sisuOUT\" $sisuPOD/*" ''; in with pkgs; { - devShell = mkShell rec { + devShell = mkShell { name = "sisu dev shell default"; inherit shell; inherit devEnv; packages = [ sqlite ]; inherit shellHook; }; - devShell-epub = mkShell rec { + devShell-epub = mkShell { name = "sisu dev shell for epub output"; inherit shell; inherit devEnv; @@ -173,7 +179,6 @@ export sisuSQLdb='spine.search.db' sigil calibre #(suite includes: ebook-viewer) foliate - devenv nixFlakes validatePkgConfig jq @@ -181,7 +186,7 @@ export sisuSQLdb='spine.search.db' ]; inherit shellHook; }; - devShell-html = mkShell rec { + devShell-html = mkShell { name = "sisu dev shell for latex & pdf output"; inherit shell; inherit devEnv; @@ -194,7 +199,6 @@ export sisuSQLdb='spine.search.db' zip unzip xz - devenv nixFlakes validatePkgConfig jq @@ -202,7 +206,7 @@ export sisuSQLdb='spine.search.db' ]; inherit shellHook; }; - devShell-latex-pdf = mkShell rec { + devShell-latex-pdf = mkShell { name = "sisu dev shell for latex & pdf output"; inherit shell; inherit devEnv; @@ -219,7 +223,6 @@ export sisuSQLdb='spine.search.db' source-serif-pro source-code-pro texlive.combined.scheme-full - devenv nixFlakes validatePkgConfig jq @@ -227,7 +230,7 @@ export sisuSQLdb='spine.search.db' ]; inherit shellHook; }; - devShell-sqlite = mkShell rec { + devShell-sqlite = mkShell { name = "sisu dev shell for latex & pdf output"; inherit shell; inherit devEnv; @@ -240,7 +243,6 @@ export sisuSQLdb='spine.search.db' zip unzip xz - devenv nixFlakes validatePkgConfig jq @@ -259,7 +261,6 @@ export sisuSQLdb='spine.search.db' rubyPackages_3_1.thor sqlite perl534Packages.Po4a - devenv nixFlakes validatePkgConfig jq -- cgit v1.2.3