Fix nix builds