Skip to content

Instantly share code, notes, and snippets.

@Abdillah
Created December 11, 2016 11:43
Show Gist options
  • Save Abdillah/e11f5779cbb6f27d6b42e6a093000085 to your computer and use it in GitHub Desktop.
Save Abdillah/e11f5779cbb6f27d6b42e6a093000085 to your computer and use it in GitHub Desktop.
[failed] Build a kernel from local git repository
# Compiled under NixOS 16.09
with import <nixpkgs> {};
pkgs.linuxPackages_custom {
version = "3.18";
src = fetchgitLocal "/path/to/git/repository/linux/";
configfile = "/path/to/config/file/linux/.config";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment