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

ombi: 4.0.1292 -> 4.0.1345 #120637

Merged
merged 2 commits into from Apr 30, 2021
Merged

Conversation

andreisergiu98
Copy link
Member

@andreisergiu98 andreisergiu98 commented Apr 25, 2021

Motivation for this change
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.

@r-rmcgibbo
Copy link

Result of nixpkgs-review pr 120637 at df61cb05 run on x86_64-linux 1

1 package built successfully:
  • ombi
2 suggestions:
  • warning: missing-phase-hooks

    installPhase should probably contain runHook preInstall and runHook postInstall.

    Near pkgs/servers/ombi/default.nix:37:3:

       |
    37 |   installPhase = ''
       |   ^
    
  • warning: build-tools-in-build-inputs

    makeWrapper is a build tool so it likely goes to nativeBuildInputs, not buildInputs.

    Near pkgs/servers/ombi/default.nix:35:3:

       |
    35 |   buildInputs = [ makeWrapper patchelf ];
       |   ^
    

@SuperSandro2000
Copy link
Member

@andreabedini please move makeWrapper into nativeBuildInputs.

@andreabedini
Copy link
Contributor

@SuperSandro2000 did you mean to reply to @andreisergiu98 ?

add fixDarwinDylibNames to fix darwin build
@andreisergiu98 andreisergiu98 changed the title ombi: 4.0.1292 -> 4.0.1340 ombi: 4.0.1292 -> 4.0.1345 Apr 28, 2021
@andreisergiu98
Copy link
Member Author

andreisergiu98 commented Apr 29, 2021

@andreabedini yep, that's what I think.

@SuperSandro2000 I changed the derivation a little bit. I saw on hydra that it doesn't build on darwin because of patchelf. So I added autoPatchelfHook and fixDarwinDylibNames. I also fixed the test suite because it complained about the default user.

@SuperSandro2000 SuperSandro2000 merged commit a73342b into NixOS:master Apr 30, 2021
@andreisergiu98 andreisergiu98 deleted the ombi-update branch June 25, 2021 12:06
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

5 participants