Skip to content

lziprecover: init at 1.22#153478

Merged
SuperSandro2000 merged 4 commits intoNixOS:stagingfrom
vlaci:lziprecover
Jan 27, 2022
Merged

lziprecover: init at 1.22#153478
SuperSandro2000 merged 4 commits intoNixOS:stagingfrom
vlaci:lziprecover

Conversation

@vlaci
Copy link
Contributor

@vlaci vlaci commented Jan 4, 2022

Maintainer is absent for the original package that's why I haven't put myself in here. I can add myself to both of them if needed

Motivation for this change

This is a data recovery tool for lzip files. which I am depending on for my current job :)

Things done

Tried cross-building to multiple platform successfully but didn't test any of the crossbuilt output. CFLAGS and co. are directly lifted over from the lzip defivation.

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jan 4, 2022
Copy link
Contributor

@c0bw3b c0bw3b left a comment

Choose a reason for hiding this comment

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

It builds and runs properly.

One message during build though:

testing --reproduce...
warning: skipping --reproduce test: lzip not found or not the right version.
Try 'make LZIP_NAME=<name_of_lzip_executable> check'.

You need to pass lzip in checkInputs in order to run all possible tests during check phase.

vlaci added 4 commits January 20, 2022 16:31
According to the homepage and `COPYING` file inside the source
archive.
It is not an issue if $CXX variable is always set to an absolute
value, there is no need to set it conditionally.
Companion package to `lzip`
@ofborg ofborg bot added 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. labels Jan 20, 2022
@ofborg ofborg bot requested review from adevress, edolstra, lovek323 and np January 20, 2022 17:36
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. and removed 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jan 20, 2022
@SuperSandro2000
Copy link
Member

We can either put this entire PR onto staging or only move the lzip things there because they cause to many rebuilds

@SuperSandro2000
Copy link
Member

We can either change the entire PR to target staging or only move the lzip changes to staging.

@vlaci vlaci changed the base branch from master to staging January 24, 2022 12:25
@vlaci
Copy link
Contributor Author

vlaci commented Jan 24, 2022

I've retargeted the PR to the staging branch

@SuperSandro2000 SuperSandro2000 merged commit cdb20df into NixOS:staging Jan 27, 2022
@vlaci vlaci deleted the lziprecover branch July 31, 2022 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants