Skip to content

releaseTools.debBuild: split checkinstall into separate phase - #21531

Closed
abbradar wants to merge 1 commit into
NixOS:masterfrom
abbradar:debbuild
Closed

abbradar wants to merge 1 commit into
NixOS:masterfrom
abbradar:debbuild

Conversation

@abbradar

@abbradar abbradar commented Dec 30, 2016 •

Copy link
Copy Markdown
Member

…ow to override them

Motivation for this change

This is needed for NixOS/nix#1141 that improves situation with Nix Debian packages.

Continues #20767

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • 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/)
  • Fits CONTRIBUTING.md.

This breaks compatibility with current Nix's release.nix because postInstall now runs after make install and not after a resulting Debian package is installed (which seems more "right" to me). Because of this we need to merge those two PRs simultaneously.

@mention-bot

Copy link
Copy Markdown

@abbradar, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @rbvermaa and @Profpatsch to be potential reviewers.

@@ -87,12 +90,12 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
echo "file deb-extra $(ls $i/debs/*.deb | sort | head -1)" >> $out/nix-support/hydra-build-products

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ls is meant to be for human consumption. Not to be used in scripts.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sorry, seems I've missed your message a long time ago. Do you perhaps remember what did you mean? I haven't changed this line so I'm unsure.

@Profpatsch Profpatsch Feb 19, 2018 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@abbradar 0xABAB was banned from the project about half a year ago, since they left lots of unnecessary/toxic comments on issues/PRs.

@GrahamcOfBorg GrahamcOfBorg added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Feb 19, 2018
@mmahut

mmahut commented Aug 3, 2019

Copy link
Copy Markdown
Member

What is the status of this pull request?

@abbradar

abbradar commented Aug 9, 2019

Copy link
Copy Markdown
Member Author

This shouldn't be needed now as my Nix PR is superseded with FPM package generation.

@abbradar abbradar closed this Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants