Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Sep 4, 2024
1 parent 5bee282 commit e0cf761
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/by-name/contrast/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ buildGoModule rec {
(path.append root "go.mod")
(path.append root "go.sum")
(path.append root "cli/cmd/assets/image-replacements.txt")
(path.append root "cli/genpolicy/assets/allow-all.rego")
(path.append root "internal/manifest/Milan.pem")
(path.append root "internal/manifest/Genoa.pem")
(path.append root "nodeinstaller")
Expand All @@ -178,12 +177,12 @@ buildGoModule rec {
install -D ${microsoft.genpolicy.rules}/genpolicy-rules.rego cli/genpolicy/assets/genpolicy-rules-microsoft.rego
install -D ${kata.genpolicy.src}/src/tools/genpolicy/rules.rego cli/genpolicy/assets/genpolicy-rules-kata.rego
install -D ${embeddedReferenceValues} internal/manifest/assets/reference-values.json
install -D ${genpolicy.settings-dev}/genpolicy-settings.json cli/genpolicy/assets/genpolicy-settings.json
'';

# postPatch will be overwritten by the release-cli derivation, prePatch
postPatch = ''
install -D ${genpolicy.settings-dev}/genpolicy-settings.json cli/genpolicy/assets/genpolicy-settings.json
'';
# postPatch = ''
# '';

CGO_ENABLED = 0;
ldflags = [
Expand Down

0 comments on commit e0cf761

Please sign in to comment.