> Quick question: have you tried the -P option as in `nix-env -iPf > packages.nix` ? No I haven't – not sure I'd want to have having multiple versions of the same derivation name – do you maybe mean "-r"? alexander