osquery: use stdenv.lib.nixpkgsVersion
This way easier to understand and the officially recommended approach. /cc @dezgeg @fpletz
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user