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

dwarf-fortress-packages.dwarf-fortress_0_47_02: init #79630

Merged
merged 4 commits into from Feb 10, 2020

Conversation

@shazow
Copy link
Contributor

@shazow shazow commented Feb 9, 2020

Motivation for this change

Bugfix release for Dwarf Fortress came out. This PR updates the themes.json and games.json (and the update script that updates games.json).

Unfortunately there's no corresponding unfuck release yet, so it's still using the 0.47.01 version of unfuck for 0.47.02 which seems to work fine (as it's a minor bugfix release).

Currently playing this version with:

nix-env -f . -iE 'p: (p {}).dwarf-fortress-packages.dwarf-fortress_0_47_02.override { enableTruetype = true; theme = "phoebus"; }'
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • 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 nixpkgs-review --run "nixpkgs-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)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
@shazow shazow requested review from jonringer and tomberek Feb 9, 2020
@shazow
Copy link
Contributor Author

@shazow shazow commented Feb 9, 2020

Hm, I might have missed something with unfuck, but not quite sure what.

@shazow shazow requested a review from abbradar Feb 9, 2020
@shazow
Copy link
Contributor Author

@shazow shazow commented Feb 9, 2020

Ah looks like unfuck breaks on trying to install the older dwarf-fortress_0_47_01. Hm, my nix-fu is not quite good enough to figure out what's going on, pointers appreciated.

Copy link
Contributor

@jonringer jonringer left a comment

LGTM

pkgs/games/dwarf-fortress/update.sh Show resolved Hide resolved
@jonringer
Copy link
Contributor

@jonringer jonringer commented Feb 9, 2020

unfortunately, this is does fail without a compatible version of unfuck:

while evaluating the attribute 'dfInit' of the derivation 'dwarf-fortress-0.47.01' at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/pkgs/games/dwarf-fortress/wrapper/default.nix:84:3:
while evaluating the attribute 'env' of the derivation 'dwarf-fortress-init' at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/pkgs/games/dwarf-fortress/wrapper/default.nix:87:5:
while evaluating the attribute 'passAsFile' of the derivation 'dwarf-fortress-env-0.47.01' at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'buildCommand' of the derivation 'fixup' at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'installPhase' of the derivation 'dwarf-fortress-0.47.01' at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/pkgs/games/dwarf-fortress/game.nix:46:3:
while evaluating 'optionalString' at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/lib/strings.nix:180:5, called from /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/pkgs/games/dwarf-fortress/game.nix:63:8:
while evaluating 'makeSearchPathOutput' at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/lib/strings.nix:142:5, called from /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/pkgs/games/dwarf-fortress/game.nix:13:13:
while evaluating 'makeSearchPath' at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/lib/strings.nix:122:5, called from /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/lib/strings.nix:142:11:
while evaluating anonymous function at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/lib/strings.nix:123:32, called from undefined position:
while evaluating the derivation attribute 'name' at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/pkgs/games/dwarf-fortress/unfuck.nix:51:3:
attribute 'unfuckRelease' missing, at /home/jon/.cache/nixpkgs-review/pr-79630/nixpkgs/pkgs/games/dwarf-fortress/unfuck.nix:51:35
@shazow
Copy link
Contributor Author

@shazow shazow commented Feb 9, 2020

Yea, as I mentioned too. Works fine for .02 but no longer for .01. Any ideas how to work around this?

Temporarily using 0.47.01 release for 0.47.02, since there's no
corresponding unfuck release yet and it seems to work.
@shazow shazow force-pushed the shazow:dwarf-fortress_bump branch from f41fd44 to 9bf177e Feb 10, 2020
@shazow
Copy link
Contributor Author

@shazow shazow commented Feb 10, 2020

Pushed the update, looks better now.

Copy link
Contributor

@jonringer jonringer left a comment

diff LGTM
commits LGTM

[25 built, 12 copied (392.9 MiB), 324.2 MiB DL]
https://github.com/NixOS/nixpkgs/pull/79630
15 package built:
dwarf-fortress-packages.cla-theme dwarf-fortress-packages.dwarf-fortress-full dwarf-fortress-packages.dwarf-fortress_0_47_02 dwarf-fortress-packages.phoebus-theme dwarf-fortress-packages.themes.afro-graphics dwarf-fortress-packages.themes.autoreiv dwarf-fortress-packages.themes.gemset dwarf-fortress-packages.themes.ironhand dwarf-fortress-packages.themes.jolly-bastion dwarf-fortress-packages.themes.obsidian dwarf-fortress-packages.themes.rally-ho dwarf-fortress-packages.themes.spacefox dwarf-fortress-packages.themes.taffer dwarf-fortress-packages.themes.tergel dwarf-fortress-packages.themes.wanderlust
@jonringer
Copy link
Contributor

@jonringer jonringer commented Feb 10, 2020

merging once ofborg is done with eval

@jonringer jonringer merged commit be32c3c into NixOS:master Feb 10, 2020
15 checks passed
15 checks passed
dwarf-fortress, dwarf-fortress-packages.dwarf-fortress_0_47_02 on aarch64-linux No attempt
Details
dwarf-fortress, dwarf-fortress-packages.dwarf-fortress_0_47_02 on x86_64-linux No attempt
Details
Evaluation Performance Report Evaluator Performance Report
Details
grahamcofborg-eval ^.^!
Details
grahamcofborg-eval-check-maintainers matching changed paths to changed attrs...
Details
grahamcofborg-eval-check-meta config.nix: checkMeta = true
Details
grahamcofborg-eval-darwin nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A darwin-tested
Details
grahamcofborg-eval-nixos nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release-combined.nix -A tested
Details
grahamcofborg-eval-nixos-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A manual
Details
grahamcofborg-eval-nixos-options nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A options
Details
grahamcofborg-eval-nixpkgs-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A manual
Details
grahamcofborg-eval-nixpkgs-tarball nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A tarball
Details
grahamcofborg-eval-nixpkgs-unstable-jobset nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A unstable
Details
grahamcofborg-eval-package-list nix-env -qa --json --file .
Details
grahamcofborg-eval-package-list-no-aliases nix-env -qa --json --file . --arg config { allowAliases = false; }
Details
@shazow shazow mentioned this pull request Mar 12, 2020
4 of 10 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.