Skip to content

Instantly share code, notes, and snippets.

@nagisa
Created June 30, 2019 15: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 nagisa/d968bbef17acd9afd1bf83ab6a683cf5 to your computer and use it in GitHub Desktop.
Save nagisa/d968bbef17acd9afd1bf83ab6a683cf5 to your computer and use it in GitHub Desktop.
let pkgs = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz";
sha256 = "0d9pkbax0phh392j6pzkn365wbsgd0h1cmm58rwq8zf9lb0pgkg2";
}) {
config = {
packageOverrides = pkgs: rec {
binutils-unwrapped = pkgs.binutils-unwrapped
.overrideAttrs (old: {
name = "mybinutils";
version = "2.29.1";
src = (builtins.fetchurl {
url = "ftp://sourceware.org/pub/binutils/snapshots/binutils-2.29.1.tar.bz2";
sha256 = "05hj7is06dji2gkkn61n5fpx4l64059sjsbl4bddrsywybnzfhpm";
});
});
};
};
};
in pkgs.stdenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment