mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-10-26 22:08:03 +03:00
14 lines
364 B
Nix
14 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}
|
|
'';
|
|
}
|