nix-writers: 5d79992 -> 3.0.0
This commit is contained in:
parent
45750d32ed
commit
5487d466d0
@ -58,7 +58,7 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
config.activate = let
|
config.activate = let
|
||||||
src = pkgs.execve config.name {
|
src = pkgs.exec config.name {
|
||||||
inherit (config) envp filename;
|
inherit (config) envp filename;
|
||||||
};
|
};
|
||||||
dst = "${wrapperDir}/${config.name}";
|
dst = "${wrapperDir}/${config.name}";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ writeDashBin, bepasty-client-cli }:
|
{ writeDashBin, bepasty-client-cli }:
|
||||||
|
|
||||||
# TODO use `execve` instead?
|
# TODO use `pkgs.exec` instead?
|
||||||
writeDashBin "krebspaste" ''
|
writeDashBin "krebspaste" ''
|
||||||
exec ${bepasty-client-cli}/bin/bepasty-cli -L 1m --url http://paste.r "$@" | sed '$ s/$/\/+inline/g'
|
exec ${bepasty-client-cli}/bin/bepasty-cli -L 1m --url http://paste.r "$@" | sed '$ s/$/\/+inline/g'
|
||||||
''
|
''
|
||||||
|
@ -91,7 +91,7 @@ in {
|
|||||||
script = pkgs.writeBash "test" ''
|
script = pkgs.writeBash "test" ''
|
||||||
echo "hello world"
|
echo "hello world"
|
||||||
'';
|
'';
|
||||||
#script = pkgs.execve "ddate-wrapper" {
|
#script = pkgs.exec "ddate-wrapper" {
|
||||||
# filename = "${pkgs.ddate}/bin/ddate";
|
# filename = "${pkgs.ddate}/bin/ddate";
|
||||||
# argv = [];
|
# argv = [];
|
||||||
#};
|
#};
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 5d79992262e8f16a3efa985375be74abea3bb392
|
Subproject commit c27a9416e8ee04d708b11b48f8cf1a055c0cc079
|
Loading…
Reference in New Issue
Block a user