summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2017-08-03 14:43:15 +0200
committerBas van Dijk <v.dijk.bas@gmail.com>2017-08-06 00:38:29 +0200
commit872d8fc5c9f4f8b5d31cb5a2a886e986dc0abd52 (patch)
treead3494ccc1217b04cf83c35a4b1a56a1ea695d0b /pkgs/development/python-modules/httpserver
parentcaaa79f246fd2dde1b33dea6901d8f4a014c4b21 (diff)
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/
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions