home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d3e7420ece8fea26db3c0690f0c5e0ca5f5446d4
parent 1f909ccbb5cd079ed41af14087b848a6895ddb83
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu,  6 Sep 2018 14:17:31 +0200

Update nix aliases for go too

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mfish/go.fish | 11++++++-----
Mfish/nix-aliases.fish | 3+--
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/fish/go.fish b/fish/go.fish @@ -1,9 +1,10 @@ set -gx GOPATH $HOME -function pprof - nix run -f ~/.config/nixpkgs/channels.nix unstable.pprof -c pprof $argv +function _def_go_nix_run_aliases + set -l unstable pprof golangci-lint + for s in $unstable + _nix_run_package $s unstable ~/.config/nixpkgs/channels.nix + end end -function golangci-lint - nix run -f ~/.config/nixpkgs/channels.nix unstable.golangci-lint -c golangci-lint $argv -end +_def_go_nix_run_aliases diff --git a/fish/nix-aliases.fish b/fish/nix-aliases.fish @@ -1,12 +1,11 @@ function _def_nix_run_aliases set -l stable mr sshfs ncdu fd entr wakeonlan:python36Packages.wakeonlan lspci:pciutils lsusb:usbutils beet:beets set -l unstable op:_1password update-desktop-database:desktop-file-utils - set -l channels_file ~/.config/nixpkgs/channels.nix for s in $stable _nix_run_package $s nixpkgs end for s in $unstable - _nix_run_package $s unstable $channels_file + _nix_run_package $s unstable ~/.config/nixpkgs/channels.nix end end