Skip to content

Instantly share code, notes, and snippets.

@lovesegfault
Created May 27, 2020 00:48
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 lovesegfault/ab5ca2d7488d996d523d4549cc60c283 to your computer and use it in GitHub Desktop.
Save lovesegfault/ab5ca2d7488d996d523d4549cc60c283 to your computer and use it in GitHub Desktop.
{ system ? builtins.currentSystem }:
let
sources = import ./sources.nix;
config = { allowUnfree = true; };
overlays = [
(self: super: {
llvm = self.llvm.overrideAttrs (oldAttrs: {
# introduce dirt to force rebuilds
postInstall = oldAttrs.postInstall + "echo ${builtins.currentTime} > $out/dirt";
});
})
];
in
import sources.nixpkgs { inherit config overlays system; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment