1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs
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
..
applications terraform: 0.9.11 -> 0.10.0 2017-08-03 11:06:23 +01:00
build-support dockerTools: fix image json and manifest 2017-08-03 11:52:03 +02:00
common-updater
data lohit-fonts: add package description 2017-08-03 09:09:03 +02:00
desktops gnome3: Remove myself from maintainer list 2017-08-02 18:21:50 +02:00
development haskell infra: Misc cleanups 2017-08-03 13:12:01 +02:00
games pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
misc Merge pull request #27838 from sauyon/numix-sx 2017-08-03 07:09:49 +01:00
os-specific pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
servers varnish: Update to 5.1.2: https://varnish-cache.org/security/VSV00001.html 2017-08-02 12:48:05 +00:00
shells pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
stdenv Merge remote-tracking branch 'upstream/master' into staging-base 2017-07-26 13:46:04 -04:00
test
tools flockit: init at 2012-08-11 2017-08-06 00:38:29 +02:00
top-level flockit: init at 2012-08-11 2017-08-06 00:38:29 +02:00