Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created March 26, 2021 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/5c67a5ad56b315a9e8f6b35afaa0d7c6 to your computer and use it in GitHub Desktop.
Save exarkun/5c67a5ad56b315a9e8f6b35afaa0d7c6 to your computer and use it in GitHub Desktop.
{ overlays ? true }:
let
nixpkgs-pin = {
name = "nixpkgs";
url = "https://github.com/NixOS/nixpkgs-channels/archive/353333ef340952c05332e3c271dff953264cb017.tar.gz";
sha256 = "sha256:0bv34yz892yxhx2kb8a1yr5pm0g8ck5w021yj87r7kfnp416apdh";
};
nixpkgs-src = builtins.fetchTarball nixpkgs-pin;
args =
if overlays
then { overlays = [ (import <psio/nixos/openssl-111k.nix>) ]; }
else { };
nixpkgs = import nixpkgs-src args;
in
nixpkgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment