diff options
author | Profpatsch <mail@profpatsch.de> | 2020-06-28 15:14:04 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2020-06-28 15:14:04 +0200 |
commit | 3f79ddf06375c3b34569c8b9ce91a607bbd0f052 (patch) | |
tree | c4e7515cb141cd9bce86df7e113056000af8f60d /pkgs/profpatsch/rust-deps.nix | |
parent | 13ad936f8432d2fe46169716ddf5eb7d4f84f202 (diff) |
pkgs/profpatsch/execline: add el_exec and el_substitute
el_exec: wraps the various execve wrappers in skalib that are useful for writing execline-like utils. currently only `xpathexec0` is supported, which execs into the argv you give it or errors with the right error if file not found. el_substitute: execline argv substitution! Wraps the execline function, so it will behave exactly the same as the existing execline utils, like `importas`.
Diffstat (limited to 'pkgs/profpatsch/rust-deps.nix')
-rw-r--r-- | pkgs/profpatsch/rust-deps.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/profpatsch/rust-deps.nix b/pkgs/profpatsch/rust-deps.nix new file mode 100644 index 00000000..d6a52258 --- /dev/null +++ b/pkgs/profpatsch/rust-deps.nix @@ -0,0 +1,24 @@ +{ buildRustCrate }: + +let + libc = buildRustCrate { + pname = "libc"; + version = "0.2.69"; + crateName = "libc"; + sha256 = "0fwi6rxklsaqcig432fg3cjamiilvv2c4jz0i3dxw7c33ipprhsz"; + }; + + errno = buildRustCrate { + pname = "errno"; + version = "0.2.5"; + crateName = "errno"; + sha256 = "0gd36jijlb17df3ffxqxqczlwdawicbbzqjwfjc4b5lzqgizm0bz"; + dependencies = [ libc ]; + }; + +in { + inherit + libc + errno + ; +} |