configure nix package, overlay, flake
1 file changed, 19 insertions(+), 2 deletions(-)
changed files
M flake.nix → flake.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; + }; + }; }; }