Skip to content

Instantly share code, notes, and snippets.

@Twey
Created September 10, 2019 16:39
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 Twey/22c549b4f3a434a7e30c824569d32e69 to your computer and use it in GitHub Desktop.
Save Twey/22c549b4f3a434a7e30c824569d32e69 to your computer and use it in GitHub Desktop.
CPU-pinned Nix shell
with import <nixpkgs> { };
stdenv.mkDerivation {
name = "pinning-test";
src = nix-gitignore.gitignoreFilterRecursiveSource (_: _: false) [] ./.;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment