diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-21 18:23:50 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-21 18:23:50 +1000 |
commit | d6b39de4294e1ae820e076b9d4162632a6de174d (patch) | |
tree | 471b1b5842348c053a37f7bea05c6428b20507fb /pkgs/tools/misc/noti | |
parent | 7a3be5761abf6ab87416f4f6cc7ac994ac63bd35 (diff) |
noti: buildFlagsArray -> ldflags
Diffstat (limited to 'pkgs/tools/misc/noti')
-rw-r--r-- | pkgs/tools/misc/noti/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/misc/noti/default.nix b/pkgs/tools/misc/noti/default.nix index 9bfc7e259d5b0..c964a8872f831 100644 --- a/pkgs/tools/misc/noti/default.nix +++ b/pkgs/tools/misc/noti/default.nix @@ -16,9 +16,9 @@ buildGoPackage rec { goPackagePath = "github.com/variadico/noti"; - preBuild = '' - buildFlagsArray+=("-ldflags" "-X ${goPackagePath}/internal/command.Version=${version}") - ''; + ldflags = [ + "-X ${goPackagePath}/internal/command.Version=${version}" + ]; postInstall = '' install -Dm444 -t $out/share/man/man1 $src/docs/man/*.1 |