Skip to content

Instantly share code, notes, and snippets.

@kalbasit
Last active August 21, 2018 17:35
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 kalbasit/efe0bd35c1540ecf5bc21439c91045eb to your computer and use it in GitHub Desktop.
Save kalbasit/efe0bd35c1540ecf5bc21439c91045eb to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {} }:
let
nixpkgs-version = pkgs.lib.importJSON ./nixpkgs-version.json;
pinned-nixpkgs = pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
inherit (nixpkgs-version) rev sha256;
};
in
pinned-nixpkgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment