Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4f274fad77ad
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8599adeadd78
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 25, 2020

  1. Add version flag to Open Policy Agent build

    Luc Perkins committed Jul 25, 2020
    Copy the full SHA
    debf7bb View commit details

Commits on Jul 27, 2020

  1. Merge pull request #93845 from lucperkins/open-policy-agent-version

    Add build version to open-policy-agent package
    nlewo authored Jul 27, 2020
    Copy the full SHA
    8599ade View commit details
Showing with 5 additions and 0 deletions.
  1. +5 −0 pkgs/development/tools/open-policy-agent/default.nix
5 changes: 5 additions & 0 deletions pkgs/development/tools/open-policy-agent/default.nix
Original file line number Diff line number Diff line change
@@ -13,6 +13,11 @@ buildGoPackage rec {
};
goDeps = ./deps.nix;

buildFlagsArray = ''
-ldflags=
-X ${goPackagePath}/version.Version=${version}
'';

meta = with lib; {
description = "General-purpose policy engine";
homepage = "https://www.openpolicyagent.org";