Hi all, I'm trying to build a newer version of nixops than that is present in nixpkgs. In need this newer version, since I require this patch [1].
Building nixops with the following expression: with (import <nixpkgs>) {}; with pkgs; callPackage (import <nixpkgs/pkgs/tools/package-management/nixops/generic.nix>) rec { version = "1.04pre0_0xz1nz3"; src = fetchFromGitHub { owner = "NixOs"; repo = "nixops"; # latest version in git #rev = "e6f012a95988e52cc6555c04242056d319478b24"; #sha256 = "0xz1nz3a49vwhzkjb0b9c7c83iwfpkpvsnq5bpgm2w3qii75vhkj"; # version with my patch rev = "94bf6d95134790e04a3f8fa6d51c75eda2c4ba19"; sha256 = "1hkp634lkc0p22jrfxpq8lwlsrjgi2x9nxb6bab2fl01r4jrmp8l"; }; } This fails in the installing python phase: *running install_scripts* creating build/bdist.linux-x86_64/wheel/nixops-_version_.data creating build/bdist.linux-x86_64/wheel/nixops-_version_.data/scripts copying build/scripts-2.7/nixops -> build/bdist.linux-x86_64/wheel/nixops-_version_.data/scripts changing mode of build/bdist.linux-x86_64/wheel/nixops-_version_.data/scripts/nixops to 755 creating build/bdist.linux-x86_64/wheel/nixops-_version_.dist-info/WHEEL *installing* /tmp/nix-build-nixops-1.04pre0_0xz1nz3.drv-0/nixops-94bf6d95134790e04a3f8fa6d51c75eda2c4ba19-src/dist /tmp/nix-build-nixops-1.04pre0_0xz1nz3.drv-0/nixops-94bf6d95134790e04a3f8fa6d51c75eda2c4ba19-src Ignoring indexes: https://pypi.python.org/simple *nixops-_version_-py2-none-any.whl is not a valid wheel filename.* builder for ‘/nix/store/qxvwma9gk0myic2k6fcwczcmlyqchk7c-nixops-1.04pre0_0xz1nz3.drv’ failed with exit code 1 error: build of ‘/nix/store/qxvwma9gk0myic2k6fcwczcmlyqchk7c-nixops-1.04pre0_0xz1nz3.drv’ failed I know nothing about python packaging, does someone have a clue on how to fix this? - maarten [1] https://github.com/NixOS/nixops/commit/94bf6d95134790e04a3f8fa6d51c75eda2c4ba19
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev