Browse Source

actually fixed nix pinning

Shaun Kerr 5 months ago
parent
commit
ede0dc65d7
2 changed files with 6 additions and 7 deletions
  1. 1
    1
      archive.md
  2. 5
    6
      rf.nix

+ 1
- 1
archive.md View File

@@ -10,7 +10,7 @@ you access archives and find:
10 10
 
11 11
 and make me very sad.
12 12
 
13
-> ~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.~
13
+> ~~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.~~
14 14
 
15 15
 > 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!
16 16
 

+ 5
- 6
rf.nix View File

@@ -1,10 +1,9 @@
1 1
 let
2
-   inherit (import <nixpkgs> {}) fetchFromGitHub;
3
-   np = fetchFromGitHub {
4
-     owner = "NixOS";
5
-     repo = "nixpkgs";
6
-     rev = "d7c0d9a7f83b7f80e08888c040ea8a2ab7ca5f71";
7
-     sha256 = "0vb7ikjscrp2rw0dfw6pilxqpjm50l5qg2x2mn1vfh93dkl2aan7";
2
+   
3
+   rev = "d7c0d9a7f83b7f80e08888c040ea8a2ab7ca5f71";
4
+   np = builtins.fetchTarball {
5
+     url = https://github.com/nixos/nixpkgs/archive/$rev.tar.gz;
6
+     sha256 = "1i5a0si7m80w1a987crm9xmbin35jpmdcsk3113xxp9xcw0v23rn";
8 7
    };
9 8
    config = {
10 9
       packageOverrides = pkgs: rec {

Loading…
Cancel
Save