pkgs/servers: stdenv.lib -> lib
This commit is contained in:
@@ -21,7 +21,7 @@ buildGoPackage rec {
|
||||
-X ${t}.Branch=unknown
|
||||
-X ${t}.BuildUser=nix@nixpkgs
|
||||
-X ${t}.BuildDate=unknown
|
||||
-X ${t}.GoVersion=${stdenv.lib.getVersion go}
|
||||
-X ${t}.GoVersion=${lib.getVersion go}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "bind_exporter";
|
||||
version = "20161221-${stdenv.lib.strings.substring 0 7 rev}";
|
||||
version = "20161221-${lib.strings.substring 0 7 rev}";
|
||||
rev = "4e1717c7cd5f31c47d0c37274464cbaabdd462ba";
|
||||
|
||||
goPackagePath = "github.com/digitalocean/bind_exporter";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, lib, buildGoPackage, fetchFromGitHub, makeWrapper, nixosTests
|
||||
, systemd, withSystemdSupport ? true }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "postfix_exporter";
|
||||
|
||||
@@ -24,7 +24,7 @@ buildGoPackage rec {
|
||||
-X github.com/prometheus/pushgateway/vendor/github.com/prometheus/common/version.Branch=${rev}
|
||||
-X github.com/prometheus/pushgateway/vendor/github.com/prometheus/common/version.BuildUser=${buildUser}
|
||||
-X github.com/prometheus/pushgateway/vendor/github.com/prometheus/common/version.BuildDate=${buildDate}
|
||||
-X main.goVersion=${stdenv.lib.getVersion go}
|
||||
-X main.goVersion=${lib.getVersion go}
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user