about summary refs log tree commit diff
path: root/pkgs/tools/system/osquery
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2018-04-26 10:31:05 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2018-04-28 14:23:53 +0200
commit9274ea390348e17f766732e7fbd335e3bc164954 (patch)
treeea75418843caff7129e5b9b87434e59f9cac0ef1 /pkgs/tools/system/osquery
parent39909289f452fcd60127cbd2372f22ac35f25d08 (diff)
downloadnixlib-9274ea390348e17f766732e7fbd335e3bc164954.tar
nixlib-9274ea390348e17f766732e7fbd335e3bc164954.tar.gz
nixlib-9274ea390348e17f766732e7fbd335e3bc164954.tar.bz2
nixlib-9274ea390348e17f766732e7fbd335e3bc164954.tar.lz
nixlib-9274ea390348e17f766732e7fbd335e3bc164954.tar.xz
nixlib-9274ea390348e17f766732e7fbd335e3bc164954.tar.zst
nixlib-9274ea390348e17f766732e7fbd335e3bc164954.zip
treewide: rename version attributes
As suggested in https://github.com/NixOS/nixpkgs/pull/39416#discussion_r183845745
the versioning attributes in `lib` should be consistent to
`nixos/version` which implicates the following changes:

* `lib.trivial.version` -> `lib.trivial.release`
* `lib.trivial.suffix` -> `lib.trivial.versionSuffix`
* `lib.nixpkgsVersion` -> `lib.version`

As `lib.nixpkgsVersion` is referenced several times in `NixOS/nixpkgs`,
`NixOS/nix` and probably several user's setups. As the rename will cause
a notable impact it's better to keep `lib.nixpkgsVersion` as alias with
a warning yielded by `builtins.trace`.
Diffstat (limited to 'pkgs/tools/system/osquery')
-rw-r--r--pkgs/tools/system/osquery/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/osquery/default.nix b/pkgs/tools/system/osquery/default.nix
index b88186a610bf..a0aaa846bc73 100644
--- a/pkgs/tools/system/osquery/default.nix
+++ b/pkgs/tools/system/osquery/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
 
   # this is what `osquery --help` will show as the version.
   OSQUERY_BUILD_VERSION = version;
-  OSQUERY_PLATFORM = "nixos;${stdenv.lib.nixpkgsVersion}";
+  OSQUERY_PLATFORM = "nixos;${stdenv.lib.version}";
 
   src = fetchFromGitHub {
     owner = "facebook";