Skip to content

update most packages I maintain #53818

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

Merged
merged 10 commits into from Jan 23, 2019
Merged

update most packages I maintain #53818

merged 10 commits into from Jan 23, 2019

Conversation

ghost
Copy link

@ghost ghost commented Jan 11, 2019

Motivation for this change

nix-build -A openmpt123 -A vkquake -A franz -A openmw-tes3mp -A kmsxx -A openjk -A mytetra -A qdirstat -A python27Packages.kmsxx -A python37Packages.kmsxx -A ps_mem -A vk-messenger

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg GrahamcOfBorg added 8.has: clean-up 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Jan 11, 2019
@veprbl veprbl added the 11.by: package-maintainer This PR was created by the maintainer of the package it changes label Jan 11, 2019
@Mic92
Copy link
Member

Mic92 commented Jan 12, 2019

openmpt123 still fails to build: https://gist.github.com/Mic92/0345c5294f04134388177780648e16d5

@ghost
Copy link
Author

ghost commented Jan 12, 2019

@Mic92 do we have issues with static libraries in NixOS? I see --disable-static is passed by default. Switched to shared, should build now.

@Mic92
Copy link
Member

Mic92 commented Jan 12, 2019

@gnidorah we don't build static libraries usually like most linux distributions, but they should work. There is a static overlay called pkgsStatic that enables static linking by default in some packages.

doCheck = true;

buildInputs = [ pkgconfig ];
nativeBuildInputs = [ zlib mpg123 libogg libvorbis portaudio libsndfile flac ];
Copy link
Member

Choose a reason for hiding this comment

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

buildInputs and nativeBuildInputs are the other way around

Copy link
Author

Choose a reason for hiding this comment

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

@FRidh corrected, thanks!

installFlags = "PREFIX=\${out}";
buildInputs = [ zlib mpg123 libogg libvorbis portaudio libsndfile flac ];

configureFlags = [
Copy link
Member

Choose a reason for hiding this comment

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

Note we often adjust this flag using usePulseAudio = config.pulseaudio or stdenv.isLinux;

Copy link
Author

Choose a reason for hiding this comment

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

@FRidh Done, thanks!

@ghost
Copy link
Author

ghost commented Jan 23, 2019

Merge please?

@Mic92 Mic92 merged commit b3eaad9 into NixOS:master Jan 23, 2019
@ghost
Copy link
Author

ghost commented Jan 23, 2019

@FRidh @Mic92 Thanks!

@ghost ghost deleted the updates branch January 23, 2019 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: clean-up 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants