all repos — scriptura @ 433782d3d494d65578347f0eb6f610e91bc49394

a corner in $HOME for your scripts

configure nix package, overlay, flake

Alan Pearce
commit

433782d3d494d65578347f0eb6f610e91bc49394

parent

9b7b6f66f69aa1b6e3c1583e8dee81c403852d29

1 file changed, 19 insertions(+), 2 deletions(-)

changed files
M flake.nixflake.nix
@@ -29,16 +29,33 @@ devShells = forEachSupportedSystem (
{ pkgs }: { default = pkgs.mkShellNoCC { - packages = with pkgs; [ fish ]; + packages = with pkgs; [ + (pkgs.wrapFish { + pluginPkgs = with fishPlugins; [ + fishtape_3 + ]; + completionDirs = [ ]; + functionDirs = [ ./functions ]; + confDirs = [ ]; + }) + ]; }; } ); packages = forEachSupportedSystem ( { pkgs }: rec { - scriptura = pkgs.callPackage ./default.nix { }; + scriptura = pkgs.callPackage ./default.nix { + inherit (pkgs.fishPlugins) buildFishPlugin fishtape_3; + }; default = scriptura; } ); + + overlays = { + default = final: prev: { + scriptura = self.packages.${prev.system}.scriptura; + }; + }; }; }