The version bump in c727e7e7d6 (pull
request #35153) didn't actually take into account that Haxe has changed
the way they search for the stdlib. Instead of a hardcoded list of paths
it now searches based on a common prefix.
So when running Haxe, it errored out because it couldn't find its own
standard library. This is now fixed by changing the sed expression
accordingly.
Apart from fixing the actual issue, I've added a small test in
installCheckPhase to make sure something like this won't happen again in
future updates.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @volth, @joachifm
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/you-get/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/a7n7325307a14hwggdj0jzdj47182zma-you-get-0.4.1060/bin/.you-get-wrapped -h’ got 0 exit code
- ran ‘/nix/store/a7n7325307a14hwggdj0jzdj47182zma-you-get-0.4.1060/bin/.you-get-wrapped --help’ got 0 exit code
- ran ‘/nix/store/a7n7325307a14hwggdj0jzdj47182zma-you-get-0.4.1060/bin/you-get -h’ got 0 exit code
- ran ‘/nix/store/a7n7325307a14hwggdj0jzdj47182zma-you-get-0.4.1060/bin/you-get --help’ got 0 exit code
- found 0.4.1060 with grep in /nix/store/a7n7325307a14hwggdj0jzdj47182zma-you-get-0.4.1060
- directory tree listing: https://gist.github.com/d2773534e9b303789f531edc73f9eefb
This is needed because simp_le expects two certificates in fullchain.pem, leading to error:
> Not enough PEM encoded messages were found in fullchain.pem; at least 2 were expected, found 1.
We now create a CA and sign the key with it instead, providing correct fullchain.pem.
Also cleanup service a bit -- use PATH and a private temporary directory (which
is more suitable).
These don't have affect the default Hydra setup (you need to pass
the relevant system in the supportedSystem list) but let's add it for
completeness and convenience.
Nothing probably uses this, but let's be pedantic and have the
pre-included channel on the install media be as close as possible to
what 'nix-channel --update' will give them.
The only remaining difference is that the channel adds programs.sqlite,
which is fundamentally unfixable.