You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB


fish support for the nix-shell environment of the Nix package manager.


Installation in the user environment


nix-env -if

and add the following to your ~/.config/fish/ Create it if it doesn't exist.

fish-nix-shell --info-right | source

System-wide installation

Add the package to your /etc/nixos/configuration.nix:

  environment.systemPackages = with pkgs; [
    # Other packages here ...
    (import (fetchGit ""))

and then execute: sudo nixos-rebuild switch

If you want to configure it system-wide, also add: = true; = ''
    fish-nix-shell --info-right | source


The fish-nix-shell command optionally takes the following flags:

Flag Meaning
--info-right While in a fish-nix-shell, display information about the loaded packages at the right.