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

keepass: change from mono40 to mono54 #34398

Merged
merged 1 commit into from Jan 29, 2018

Conversation

joncojonathan
Copy link
Member

Issue #31859 highlighted TLSv1.1 / TLSv1.2 support isn't available with older versions of Mono 4. This change moves to use Mono 5.4. Tested as working with Keepass v2.38 for which PR #34360 is already open.

Motivation for this change
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
    • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Issue NixOS#31859 (NixOS#31859) highlighted TLSv1.1 / TLSv1.2
support isn't available with older versions of Mono 4.  This change moves to use Mono 5.4.  Tested as working with Keepass v2.38 for which PR NixOS#34360 is already open.
@joncojonathan
Copy link
Member Author

@fpletz @copumpkin this PR is with mono54 and was tested against keepass v2.38 (see PR #34360).

Does it meet with your approval now it's against the latest mono version?

Thanks for your advice so far.

@copumpkin
Copy link
Member

@GrahamcOfBorg build keepass

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘mono-4.0.4.1’ in /var/lib/gc-of-borg/nix-test-rs-1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-1/pkgs/development/compilers/mono/generic.nix:90 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/5ign2lkldb3ifx84jwl7ilgm5wzinq6m-keepass-2.37 /tmp/nix-build-keepass-2.37.drv-0
/tmp/nix-build-keepass-2.37.drv-0
Created /nix/store/5ign2lkldb3ifx84jwl7ilgm5wzinq6m-keepass-2.37/lib/pkgconfig/KeePassLib.pc
rscFileExt=ico
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/5ign2lkldb3ifx84jwl7ilgm5wzinq6m-keepass-2.37
patching script interpreter paths in /nix/store/5ign2lkldb3ifx84jwl7ilgm5wzinq6m-keepass-2.37
checking for references to /tmp/nix-build-keepass-2.37.drv-0 in /nix/store/5ign2lkldb3ifx84jwl7ilgm5wzinq6m-keepass-2.37...
/nix/store/5ign2lkldb3ifx84jwl7ilgm5wzinq6m-keepass-2.37

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Success on x86_64-darwin (full log)

Partial log (click to expand)

'Build/KeePassLib/Release/KeePassLib.pdb' -> '/nix/store/kq7xf6zf3lws5yashf3kjff9jl1c0bzz-keepass-2.37/lib/dotnet/keepass/KeePassLib.pdb'
'Build/KeePassLib/Release/KeePassLib.xml' -> '/nix/store/kq7xf6zf3lws5yashf3kjff9jl1c0bzz-keepass-2.37/lib/dotnet/keepass/KeePassLib.xml'
/nix/store/kq7xf6zf3lws5yashf3kjff9jl1c0bzz-keepass-2.37 /private/tmp/nix-build-keepass-2.37.drv-0
/private/tmp/nix-build-keepass-2.37.drv-0
Created /nix/store/kq7xf6zf3lws5yashf3kjff9jl1c0bzz-keepass-2.37/lib/pkgconfig/KeePassLib.pc
rscFileExt=ico
glibPreFixupPhase
post-installation fixup
patching script interpreter paths in /nix/store/kq7xf6zf3lws5yashf3kjff9jl1c0bzz-keepass-2.37
/nix/store/kq7xf6zf3lws5yashf3kjff9jl1c0bzz-keepass-2.37

@copumpkin
Copy link
Member

Looks good, thanks!

@copumpkin copumpkin merged commit bf9eb10 into NixOS:master Jan 29, 2018
@joncojonathan joncojonathan deleted the keepass_mono54 branch January 29, 2018 21:59
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

3 participants