summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Haupert <mail@vincent-haupert.de>2022-01-18 16:19:55 +0100
committerVincent Haupert <mail@vincent-haupert.de>2022-01-19 14:06:28 +0100
commitd8ae5dc8134f7f181d9ece8e68aa2ea1b55cbb44 (patch)
tree8aaa065cb1392060dc5ad9292e4a5e51f66f54ca
parentdd3cc89b723d885aeeefa75490326b72757f06ed (diff)
downloadnixpkgs-d8ae5dc8134f7f181d9ece8e68aa2ea1b55cbb44.tar
nixpkgs-d8ae5dc8134f7f181d9ece8e68aa2ea1b55cbb44.tar.gz
nixpkgs-d8ae5dc8134f7f181d9ece8e68aa2ea1b55cbb44.tar.bz2
nixpkgs-d8ae5dc8134f7f181d9ece8e68aa2ea1b55cbb44.tar.lz
nixpkgs-d8ae5dc8134f7f181d9ece8e68aa2ea1b55cbb44.tar.xz
nixpkgs-d8ae5dc8134f7f181d9ece8e68aa2ea1b55cbb44.tar.zst
nixpkgs-d8ae5dc8134f7f181d9ece8e68aa2ea1b55cbb44.zip
discount: use deterministic mangling
`discount` offers a randomized string mangling function which results in
non-deterministic output.

This commit disables the randomized mangling in favor of a deterministic
approach. `discount` has builtin support for this through the
`--debian-glitch` configuration flag.
-rw-r--r--pkgs/tools/text/discount/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/text/discount/default.nix b/pkgs/tools/text/discount/default.nix
index 805876bd21e..7f08629da3a 100644
--- a/pkgs/tools/text/discount/default.nix
+++ b/pkgs/tools/text/discount/default.nix
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
     "--pkg-config"
     "--shared"
     "--with-fenced-code"
+    # Use deterministic mangling
+    "--debian-glitch"
   ];
 
   enableParallelBuilding = true;