about summary refs log tree commit diff
path: root/maintainers/scripts/haskell/transitive-broken-packages.nix
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-12-24 11:02:15 +0100
committerNaïm Favier <n@monade.li>2022-12-24 13:38:34 +0100
commit755d5259c7ab46a3fa726f97b9a2e0084382cd66 (patch)
tree741e8f125a1e290be488d2fdd331398d7d4f589f /maintainers/scripts/haskell/transitive-broken-packages.nix
parentb467047119513b2e1c4e2253d9699a8bdc3ff9f3 (diff)
maintainers/scripts/haskell: fix regenerate-transitive-broken
- use `restrict-eval` so that we're not affected by the user's environment
- use jq instead of the horrible echo+sed hack

The second point also fixes the indentation before each line to be two
spaces instead of one, so I set it back to one space to avoid a diff.
Diffstat (limited to 'maintainers/scripts/haskell/transitive-broken-packages.nix')
-rw-r--r--maintainers/scripts/haskell/transitive-broken-packages.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainers/scripts/haskell/transitive-broken-packages.nix b/maintainers/scripts/haskell/transitive-broken-packages.nix
index d4ddaa9576587..50ccb14577bc1 100644
--- a/maintainers/scripts/haskell/transitive-broken-packages.nix
+++ b/maintainers/scripts/haskell/transitive-broken-packages.nix
@@ -12,5 +12,5 @@ let
     (getEvaluating (nixpkgs { config.allowBroken = true; }).haskellPackages);
 in
 ''
-  ${lib.concatMapStringsSep "\n" (x: "  - ${x}") brokenDeps}
+  ${lib.concatMapStringsSep "\n" (x: " - ${x}") brokenDeps}
 ''