This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

pkgs.atuin: skip filtered_commands_leave_no_captured_output on darwin

atuin 18.23.0 fails this e2e test in unsandboxed darwin builds: the test
shell reads nix-darwin's /etc/bashrc, which resets PATH so the atuin
under test is not used. Fixed in nixpkgs by NixOS/nixpkgs#574509
(NOSYSBASHRC in preCheck); drop this package once our nixpkgs pin
includes it. Linux keeps the unmodified nixpkgs derivation.

+15 -3
+1 -1
machines/barnacle/configuration.nix
··· 31 31 32 32 # zsh dependencies 33 33 pkgs.fzf 34 - pkgs.atuin 34 + self.packages.${pkgs.system}.atuin 35 35 36 36 pkgs.gnupg 37 37 pkgs.pinentry_mac
+12
pkgs/atuin/package.nix
··· 1 + { atuin, stdenv }: 2 + # atuin 18.23.0's e2e_capture test reads nix-darwin's /etc/bashrc in the 3 + # unsandboxed darwin build, which resets PATH so the atuin under test is not 4 + # used and the test times out. Fixed upstream by NixOS/nixpkgs#574509; drop 5 + # this package once our nixpkgs pin includes it. Linux keeps the unmodified, 6 + # cached nixpkgs derivation. 7 + if stdenv.hostPlatform.isDarwin then 8 + atuin.overrideAttrs (old: { 9 + checkFlags = (old.checkFlags or [ ]) ++ [ "--skip=filtered_commands_leave_no_captured_output" ]; 10 + }) 11 + else 12 + atuin
+2 -2
tools/zsh/flake-module.nix
··· 46 46 style = "compact" 47 47 ''}; 48 48 export ATUIN_NOBIND="true" # disable all keybdinings of atuin 49 - eval "$(${pkgs.atuin}/bin/atuin init zsh)" # TODO make this optional? 49 + eval "$(${self.packages.${pkgs.system}.atuin}/bin/atuin init zsh)" # TODO make this optional? 50 50 bindkey '^r' _atuin_search_widget # bind ctrl+r to atuin 51 51 # use zsh only session history 52 52 fc -p ··· 360 360 tmux 361 361 fzf 362 362 direnv 363 - atuin 363 + self.packages.${pkgs.system}.atuin 364 364 nix-index 365 365 self.packages.${pkgs.system}.name-generator 366 366 ];