[Nix-dev] cryopid package
Eelco Dolstra
e.dolstra at tudelft.nl
Fri Nov 14 13:34:28 CET 2008
Hi,
Marco Maggesi wrote:
> I'm proud to announce my second Nix packages: CryoPID.
> CryoPID is a process freezer for Linux (http://cryopid.berlios.de/).
>
> The patch is attached.
Thank you. I've just committed it (it sounded intriguing, so I had to try it
out ;-). Basically the only problem was that, as Marc pointed out,
builtins.thisSystem should be stdenv.system. This matters for distributed
builds, like in our buildfarm: the system on which the Nix expression is
evaluated (builtins.thisSystem) may not be the same as the system on which the
package should be built. For instance, you can do something like
$ nix-env -f /path/to/nixpkgs -i cryopid --argstr system x86_64-linux
on a i686-linux, which will forward the build to an x86_64-linux machine if you
have distributed builds configured correctly.
Also, I dropped the zlib dependency, it seems that only zlibStatic is needed.
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list