Thomas Dy 4 years ago
parent
commit
3728f7f13c
3 changed files with 11 additions and 0 deletions
  1. 1 0
      .envrc
  2. 5 0
      nix/pinned-nixpkgs.nix
  3. 5 0
      shell.nix

+ 1 - 0
.envrc

@@ -0,0 +1 @@
+eval "$(lorri direnv)"

+ 5 - 0
nix/pinned-nixpkgs.nix

@@ -0,0 +1,5 @@
+builtins.fetchTarball {
+  # has hugo 0.69.2
+  url = "https://releases.nixos.org/nixpkgs/nixpkgs-20.09pre224406.5f14d99efed/nixexprs.tar.xz";
+  sha256 = "1nx9b0nqhn8gk7jsw8z5cq3gid8h8lpcmmr2q0cmi98xg1jsq0nd";
+}

+ 5 - 0
shell.nix

@@ -0,0 +1,5 @@
+{ pkgs ? import ./nix/pinned-nixpkgs.nix {} }:
+
+pkgs.mkShell {
+  buildInputs = [ pkgs.hugo ];
+}