diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -23,6 +23,12 @@ 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}; @@ -55,14 +61,14 @@ #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; @@ -89,7 +95,6 @@ sigil calibre #(suite includes: ebook-viewer) foliate - devenv nixFlakes validatePkgConfig jq @@ -97,7 +102,7 @@ ]; inherit shellHook; }; - devShell-html = mkShell rec { + devShell-html = mkShell { name = "sisu dev shell for latex & pdf output"; inherit shell; inherit devEnv; @@ -110,7 +115,6 @@ zip unzip xz - devenv nixFlakes validatePkgConfig jq @@ -118,7 +122,7 @@ ]; inherit shellHook; }; - devShell-latex-pdf = mkShell rec { + devShell-latex-pdf = mkShell { name = "sisu dev shell for latex & pdf output"; inherit shell; inherit devEnv; @@ -135,7 +139,6 @@ source-serif-pro source-code-pro texlive.combined.scheme-full - devenv nixFlakes validatePkgConfig jq @@ -143,7 +146,7 @@ ]; inherit shellHook; }; - devShell-sqlite = mkShell rec { + devShell-sqlite = mkShell { name = "sisu dev shell for latex & pdf output"; inherit shell; inherit devEnv; @@ -156,7 +159,6 @@ zip unzip xz - devenv nixFlakes validatePkgConfig jq @@ -175,7 +177,6 @@ rubyPackages_3_1.thor sqlite perl534Packages.Po4a - devenv nixFlakes validatePkgConfig jq |