8 lines
172 B
Nix
8 lines
172 B
Nix
|
|
{ ... }:
|
||
|
|
{
|
||
|
|
sig = "String -> Permission";
|
||
|
|
doc = ''
|
||
|
|
Prepends the passed string to `$PATH`.
|
||
|
|
'';
|
||
|
|
impl = path: state: state // { path = [ path ] ++ state.path; };
|
||
|
|
}
|