Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rr: enable on 32bit x86 #44229

Merged
merged 1 commit into from Jul 30, 2018
Merged

rr: enable on 32bit x86 #44229

merged 1 commit into from Jul 30, 2018

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Jul 30, 2018

Lack of 32bit support led to the creation
of an overlay to add it back again,
but since it at least builds and seems to work
don't see why we'd disallow it here :).

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

Lack of 32bit support led to the creation
of an overlay to add it back again,
but since it at least builds and seems to work
don't see why we'd disallow it here :).
@@ -51,6 +51,6 @@ stdenv.mkDerivation rec {

license = "custom";
maintainers = with stdenv.lib.maintainers; [ pierron thoughtpolice ];
platforms = ["x86_64-linux"];
platforms = stdenv.lib.platforms.x86;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure that it actually works? Upstream seems not to build for 32bit: https://github.com/mozilla/rr/releases

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For one release they said:

 No 32-bit release packages included because my 32-bit VM broke. Let's see if anyone complains.

so it could still work.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm.

looks

hahaha: from the 5.1.0 release notes:

No 32-bit release packages included because my 32-bit VM broke. Let's see if anyone complains.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And just tried it with a 32bit xterm + bash and ... seems to work? Not obviously broken anyway :D.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will probably bit-rot over time, but then hopefully nobody will care about 32-bit.

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: rr

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: rr

Partial log (click to expand)

these paths will be fetched (2.08 MiB download, 9.50 MiB unpacked):
  /nix/store/fdzlxsclph1sd3br09k23qykcbcfvbw8-capnproto-0.6.1
  /nix/store/mpl75386g01zh338yh94fai0xmwg7qij-rr-5.2.0
copying path '/nix/store/fdzlxsclph1sd3br09k23qykcbcfvbw8-capnproto-0.6.1' from 'https://cache.nixos.org'...
copying path '/nix/store/mpl75386g01zh338yh94fai0xmwg7qij-rr-5.2.0' from 'https://cache.nixos.org'...
/nix/store/mpl75386g01zh338yh94fai0xmwg7qij-rr-5.2.0

@Mic92 Mic92 merged commit 67e2de1 into NixOS:master Jul 30, 2018
@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: rr

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants