Navigation Menu

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

Pharo VM (64b) for Pharo 7 and Pharo 8 images #60649

Closed
wants to merge 3,735 commits into from
Closed

Pharo VM (64b) for Pharo 7 and Pharo 8 images #60649

wants to merge 3,735 commits into from

Conversation

rydnr
Copy link
Contributor

@rydnr rydnr commented May 1, 2019

Motivation for this change

Current Pharo package (specifically, spur64) contains a Smalltalk VM that doesn't work correctly with Pharo 7 and Pharo 8 images. It shows a blank screen. Also, some recent Pharo distributions (such as GToolkit https://github.com/feenkcom/gtoolkit) require libmoz2d to be installed.

This PR includes the work from @lukego for spur64. For 32b there's still some work to be done, so it's left as is.

Things done
  • 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 nix-review --run "nix-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)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@rydnr
Copy link
Contributor Author

rydnr commented May 1, 2019

I'm not sure how to fix the automated checks.

@lukego
Copy link
Contributor

lukego commented May 1, 2019

Great work!

@alyssais
Copy link
Member

Please rebase this on nixpkgs master.

aanderse and others added 25 commits June 13, 2019 11:27
the old hash was for 2.0.5, so the store path for the dist-info was:
/nix/store/v5sgpkxpp950chzdzzj4b5yl9r0w0by7-python3.7-Flask-Script-2.0.6/lib/python3.7/site-packages/Flask_Script-2.0.5.dist-info
Removes QuickChick for Coq 8.7 as it is broken
(probably due to a too recent ssreflect).
The error can be reproduced like:
```
$ nix-instantiate ./nixos -A system --arg configuration '
  { fileSystems."/".device = "nodev";
    boot.loader.grub.devices = [ "nodev" ];
    containers.t.config.imports = [ <nixpkgs/nixos/modules/virtualisation/amazon-image.nix> ];
  }'
```

Previously error was:
```
error: The unique option `containers.t.networking.hostName' is defined multiple times, in `/nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos/modules/virtualisation/amazon-image.nix' and `module at /home/danbst/dev/nixpkgs/nixos/modules/virtualisation/containers.nix:470'.
(use '--show-trace' to show detailed location information)
```

Now it is:
```
error: The unique option `containers.t.networking.hostName' is defined multiple times, in:
 - /nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos/modules/virtualisation/amazon-image.nix
 - module at /home/danbst/dev/nixpkgs/nixos/modules/virtualisation/containers.nix:470.
(use '--show-trace' to show detailed location information)
```

Related: #15747
See #15747. Previously this module was called `<unknown-file>`
in error messages, now it is called a bit more close to real:
```
module at /home/danbst/dev/nixpkgs/nixos/modules/virtualisation/containers.nix:470
```
not all valid file names are valid derivation names. This can cause
troubles when, for example, trying to place systemd template unit
files, which contain an '@' in their name,  in an initrd.

Fixes #53987
This downgrade is needed temporarily to alleviate breakages
such as [0] to Pantheon on Unstable.

[0]: elementary/gala#518
This hook allows to add NixOS driver libraries path to given ELF
objects' RUNPATH. We use it instead of settings RUNPATH manually
everywhere. It must be invoked in postFixup so that RUNPATH stripping
does not remove the path.

It puts the path first instead of last so that system-wide drivers
are always preferred.
`updateScript` lets us update packages automatically.
For packages that are hosted on the gnome mirror it's very easy to add
that. Inspired by #36150
* Install required tool dependencies ('tar', 'rdiff', etc.)
* Run installed duplicity instead of source tree duplicity
* Fix shebang of scripts in testing/overrides/bin/
* Disable some unhelpful developer-only tests
* Disable a test broken on Linux (root cause unknown)
* Work around low file descriptor soft limit for Darwin builders
@ofborg ofborg bot added 6.topic: fetch 6.topic: stdenv Standard environment labels Jun 13, 2019
@maxkrieger
Copy link

Any updates on this?

@rydnr
Copy link
Contributor Author

rydnr commented Aug 9, 2019

I created another PR: #66387

@rydnr rydnr closed this Aug 9, 2019
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