Fix nix build