mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-15 17:51:01 +00:00
13 lines
364 B
Nix
13 lines
364 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
test = ''
|
|
echo checking /run/current-system/sw/bin in environment >&2
|
|
grep 'export PATH=.*:/run/current-system/sw/bin' ${config.system.build.setEnvironment}
|
|
|
|
echo checking /bin and /sbin in environment >&2
|
|
grep 'export PATH=.*:/usr/bin:/usr/sbin:/bin:/sbin' ${config.system.build.setEnvironment}
|
|
'';
|
|
}
|