3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/top-level
Bas van Dijk 872d8fc5c9 flockit: init at 2012-08-11
The flockit library and tool exists solely because rsync doesn't have file
locking.

It's not used like a normal library; you don't link against it, and you don't
have to patch your source code to use it. It's inserted between your program and
its libraries by use of LD_PRELOAD.

For example:

  $ env LD_PRELOAD=$(nix-build -A pkgs.flockit)/lib/libflockit.so FLOCKIT_FILE_PREFIX=test rsync SRC DEST

Besides the library a handy executable is provided which can simplify the above to:

  $ $(nix-build -A pkgs.flockit)/bin/flockit test rsync SRC DEST

Also see the following blog post:
https://www.swiftstack.com/blog/2012/08/15/old-school-monkeypatching/
2017-08-06 00:38:29 +02:00
..
aliases.nix aliases: add 'skype' -> 'skypeforlinux' for backwards compat 2017-07-27 14:57:46 -05:00
all-packages.nix flockit: init at 2012-08-11 2017-08-06 00:38:29 +02:00
beam-packages.nix elixir: 1.5.0-rc.2 -> 1.5.0 2017-07-25 09:44:49 -04:00
default.nix
dotnet-packages.nix
emacs-packages.nix
emscripten-packages.nix
haskell-packages.nix haskell infra: Misc cleanups 2017-08-03 13:12:01 +02:00
haxe-packages.nix haxe: fix hxcpp, introduce haxePackage with hxjava and hxcs 2017-07-03 20:06:23 +00:00
impure.nix
java-packages.nix
lua-packages.nix lrexlib: 2.7.2 (broken) -> 2.8.0 2017-07-08 23:09:32 +01:00
make-tarball.nix
metrics.nix
node-packages-generated.nix
node-packages.json
node-packages.nix
ocaml-packages.nix ocaml: init at 4.05.0 2017-07-13 17:58:24 +00:00
perl-packages.nix perlPackages.Mouse: 2.4.5 -> 2.4.10, fix 32bit 2017-08-01 10:35:01 +02:00
php-packages.nix phpPackages.composer: 1.4.1 -> 1.4.2 2017-08-01 00:22:12 +02:00
pure-packages.nix
python-packages.nix pythonPackages.supervisor: 3.1.1 -> 3.1.4 (security) 2017-08-01 08:36:38 +02:00
release-cross.nix
release-lib.nix
release-python.nix
release-small.nix
release.nix
rust-packages.nix rustRegistry: 2017-06-27 -> 2017-07-23 2017-07-23 23:12:37 +02:00
splice.nix
stage.nix top-level: {build,host,target}Platform are defined in the stdenv instead 2017-07-07 12:55:02 -04:00