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

logcheck: 1.3.17 -> 1.3.18 #23317

Merged
merged 1 commit into from
Mar 5, 2017
Merged

logcheck: 1.3.17 -> 1.3.18 #23317

merged 1 commit into from
Mar 5, 2017

Conversation

ndowens
Copy link
Contributor

@ndowens ndowens commented Mar 1, 2017

Motivation for this change

Update

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.

@mention-bot
Copy link

@ndowens, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bluescreen303, @pSub and @Phreedom to be potential reviewers.

@joachifm joachifm added the 8.has: package (update) This PR updates a package to a newer version label Mar 2, 2017
@Mic92
Copy link
Member

Mic92 commented Mar 2, 2017

The corresponding module seems to be broken:
nixos/modules/services/logging/logcheck.nix

This module also still uses cron instead of systemd timer.

version = "1.3.17";
name = "${_name}-${version}";
version = "1.3.18";
name = "logcheck_${version}";
Copy link
Member

Choose a reason for hiding this comment

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

Unfortunately the hyphen here is actually important.

Copy link
Contributor Author

@ndowens ndowens Mar 2, 2017

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

The hyphen is needed for Nix to know what part of "name" is the package name and what is the version number.

Copy link
Member

Choose a reason for hiding this comment

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

Debian always uses _ to desperate program name, version and architecture in file names. Even for the original source tarballs they provide.

@ndowens
Copy link
Contributor Author

ndowens commented Mar 2, 2017 via email

logcheck: Added hyphen
@ndowens
Copy link
Contributor Author

ndowens commented Mar 4, 2017

@Mic92 I will try to look at the module too. Even though just trying to update packages to latestbin repo 👅

@ndowens
Copy link
Contributor Author

ndowens commented Mar 5, 2017

@Mic92 I don't think I can fix the logcheck module, as I don't really understand it greatly

@joachifm joachifm merged commit 1539d94 into NixOS:master Mar 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (update) This PR updates a package to a newer version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants