Merge remote-tracking branch 'ni/master'

This commit is contained in:
lassulus 2018-09-16 21:55:28 +02:00
commit 1662e21c33
5 changed files with 5 additions and 5 deletions

View file

@ -58,7 +58,7 @@ let
};
};
config.activate = let
src = pkgs.execve config.name {
src = pkgs.exec config.name {
inherit (config) envp filename;
};
dst = "${wrapperDir}/${config.name}";

View file

@ -1,6 +1,6 @@
{ writeDashBin, bepasty-client-cli }:
# TODO use `execve` instead?
# TODO use `pkgs.exec` instead?
writeDashBin "krebspaste" ''
exec ${bepasty-client-cli}/bin/bepasty-cli -L 1m --url http://paste.r "$@" | sed '$ s/$/\/+inline/g'
''

View file

@ -2,7 +2,7 @@
krops = builtins.fetchGit {
url = https://cgit.krebsco.de/krops/;
rev = "4e466eaf05861b47365c5ef46a31a188b70f3615";
rev = "c46166d407c7d246112f13346621a3fbdb25889e";
};
lib = import "${krops}/lib";

View file

@ -91,7 +91,7 @@ in {
script = pkgs.writeBash "test" ''
echo "hello world"
'';
#script = pkgs.execve "ddate-wrapper" {
#script = pkgs.exec "ddate-wrapper" {
# filename = "${pkgs.ddate}/bin/ddate";
# argv = [];
#};

@ -1 +1 @@
Subproject commit 5d79992262e8f16a3efa985375be74abea3bb392
Subproject commit c27a9416e8ee04d708b11b48f8cf1a055c0cc079