From ede0dc65d79a752339ef0963a83960ba19d94703 Mon Sep 17 00:00:00 2001 From: Shaun Kerr Date: Tue, 4 Sep 2018 14:43:27 +1200 Subject: [PATCH] actually fixed nix pinning --- archive.md | 2 +- rf.nix | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/archive.md b/archive.md index f6b0d98..8170577 100644 --- a/archive.md +++ b/archive.md @@ -10,7 +10,7 @@ you access archives and find: and make me very sad. -> ~full disclosure, the only reason this page still exists is because of the netrunner joke. im pretty sure the front page shows every post anyway.~ +> ~~full disclosure, the only reason this page still exists is because of the netrunner joke. im pretty sure the front page shows every post anyway.~~ > turns out im not quite as stupid as i thought and worked out how monads work so i could limit front page to a few posts. this page is back in business baby! diff --git a/rf.nix b/rf.nix index 943ee73..16f87b8 100644 --- a/rf.nix +++ b/rf.nix @@ -1,10 +1,9 @@ let - inherit (import {}) fetchFromGitHub; - np = fetchFromGitHub { - owner = "NixOS"; - repo = "nixpkgs"; - rev = "d7c0d9a7f83b7f80e08888c040ea8a2ab7ca5f71"; - sha256 = "0vb7ikjscrp2rw0dfw6pilxqpjm50l5qg2x2mn1vfh93dkl2aan7"; + + rev = "d7c0d9a7f83b7f80e08888c040ea8a2ab7ca5f71"; + np = builtins.fetchTarball { + url = https://github.com/nixos/nixpkgs/archive/$rev.tar.gz; + sha256 = "1i5a0si7m80w1a987crm9xmbin35jpmdcsk3113xxp9xcw0v23rn"; }; config = { packageOverrides = pkgs: rec {