nixbook: add prefetch script

This commit is contained in:
Tristan 2024-07-23 15:47:52 +01:00
parent 5dbe3f07a7
commit 9903d1949e

View file

@ -344,5 +344,12 @@ in {
}
];
}
{
name = "prefetch-url";
text = ''
nix-build -E "with import <nixpkgs> {}; fetchzip {url = \"$1\"; sha256 = lib.fakeSha256; }"
'';
install = true;
}
];
}