diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2018-04-24 20:30:12 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2018-04-28 14:23:13 +0200 |
commit | f66cdc71a3300581501fd953f8e359b7ff824933 (patch) | |
tree | 38424e5f919462a7fde5dc167bb0c921223c6e39 /pkgs/tools/system | |
parent | 9f2b67d89b10b2f5375e77c976990f87c869d6fd (diff) |
osquery: use `stdenv.lib.nixpkgsVersion`
This way easier to understand and the officially recommended approach. /cc @dezgeg @fpletz
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/osquery/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/osquery/default.nix b/pkgs/tools/system/osquery/default.nix index 2a719efd79b3a..b88186a610bf9 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;${builtins.readFile "${toString path}/.version"}"; + OSQUERY_PLATFORM = "nixos;${stdenv.lib.nixpkgsVersion}"; src = fetchFromGitHub { owner = "facebook"; |