write package.nix