mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
15 lines
368 B
Nix
15 lines
368 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
programs.bash.enable = true;
|
|
|
|
test = ''
|
|
echo checking /run/current-system/sw/bin in systemPath >&2
|
|
grep 'export PATH=.*:/run/current-system/sw/bin' ${config.out}/etc/bashrc
|
|
|
|
echo checking /bin and /sbin in systemPath >&2
|
|
grep 'export PATH=.*:/usr/bin:/usr/sbin:/bin:/sbin' ${config.out}/etc/bashrc
|
|
'';
|
|
}
|