aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-02-11 22:16:49 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2023-02-11 22:16:49 -0500
commitce68b742ea80b9199fba3d7073464a24b8355ed8 (patch)
tree059ff31be77e6de0dc0bc446bdc33b409151328f /org
parentnix .env, add ./result/bin path (diff)
nix flake checkHEADupstream
Diffstat (limited to 'org')
-rw-r--r--org/config_nix.org21
1 files changed, 11 insertions, 10 deletions
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