From a clone of the Eta repository: stack2nix --stack-yaml stack-8.2.2.yaml . > ../eta-nix/default.nix