Skip to content

Commit

Permalink
DO-NOT-MERGE: Revert "genpolicy: hide logs by default"
Browse files Browse the repository at this point in the history
This reverts commit 784fd62.
  • Loading branch information
Freax13 committed Oct 8, 2024
1 parent f502687 commit d0ae3b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.

This file was deleted.

11 changes: 3 additions & 8 deletions packages/by-name/microsoft/genpolicy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ rustPlatform.buildRustPackage rec {
'';

passthru = rec {
settings-base = stdenvNoCC.mkDerivation {
settings = stdenvNoCC.mkDerivation {
name = "${pname}-${version}-settings";
inherit src sourceRoot;

Expand All @@ -98,19 +98,14 @@ rustPlatform.buildRustPackage rec {
'';
};

settings = applyPatches {
src = settings-base;
patches = [ ./genpolicy_msft_settings_prod.patch ];
};

settings-coordinator = applyPatches {
src = settings-base;
src = settings;
patches = [ ./genpolicy_msft_settings_coordinator.patch ];
};

# Settings that allow exec into CVM pods - not safe for production use!
settings-dev = applyPatches {
src = settings-base;
src = settings;
patches = [ ./genpolicy_msft_settings_dev.patch ];
};

Expand Down

0 comments on commit d0ae3b1

Please sign in to comment.