aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2025-07-16 21:05:21 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2025-07-16 21:05:21 +0200
commit28d412ccfe48c2fc25fe5240f03e7996ec6d3882 (patch)
tree1f729e590e63551753b04f92feca2f7b37ab295b /shell.nix
parent1e6fefa652239bccc816e24086f23668b4e9de89 (diff)
downloadconstance-ring-28d412ccfe48c2fc25fe5240f03e7996ec6d3882.tar.gz
constance-ring-28d412ccfe48c2fc25fe5240f03e7996ec6d3882.tar.bz2
constance-ring-28d412ccfe48c2fc25fe5240f03e7996ec6d3882.tar.xz
constance-ring-28d412ccfe48c2fc25fe5240f03e7996ec6d3882.zip
Reproducible shell with nix
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..bf14b7f
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,14 @@
+let
+ nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-25.05";
+ pkgs = import nixpkgs { config = {}; overlays = []; };
+in
+
+pkgs.mkShellNoCC {
+ packages = with pkgs; [
+ pandoc
+ hunspell
+ (diffoscope.override { enableBloat = false; })
+ ];
+
+ LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
+}