repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vuls: init at 0.27.0 (#348530)
[NixPkgs.git]
/
pkgs
/
os-specific
/
darwin
/
stubs
/
default.nix
blob
862305a069d6083ad126dc53d2fcab20311e2404
1
{ lib, writeScriptBin, runtimeShell }:
2
3
let fake = name: lib.overrideDerivation (writeScriptBin name ''
4
#!${runtimeShell}
5
echo >&2 "Faking call to ${name} with arguments:"
6
echo >&2 "$@"
7
'') (drv: {
8
name = "${name}-stub";
9
}); in
10
11
{
12
setfile = fake "SetFile";
13
rez = fake "Rez";
14
derez = fake "DeRez";
15
}