forked from mirrors/nixpkgs
osquery: use stdenv.lib.nixpkgsVersion
This way easier to understand and the officially recommended approach. /cc @dezgeg @fpletz
This commit is contained in:
parent
9f2b67d89b
commit
f66cdc71a3
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue