diff options
| author | Jack Lucas <silverbeard@protonmail.com> | 2017-04-15 09:52:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-15 09:52:06 -0400 |
| commit | 224b745f2f0234e9a78d6cdedbab65e4f26be8d2 (patch) | |
| tree | 0ae8d43f3f9e967971cf6a1401c9c742e52bb46b /linux-nonfree.scm | |
| parent | Uses 7260 drivers and linux 4.10 now (diff) | |
| download | guix-nonfree-224b745f2f0234e9a78d6cdedbab65e4f26be8d2.tar.gz | |
Update linux-nonfree.scm
Diffstat (limited to 'linux-nonfree.scm')
| -rw-r--r-- | linux-nonfree.scm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/linux-nonfree.scm b/linux-nonfree.scm index a0571e7..97a0158 100644 --- a/linux-nonfree.scm +++ b/linux-nonfree.scm @@ -34,6 +34,16 @@ ;;; Forgive me Stallman for I have sinned. +;;;Some notes since this took a little bit to figure out +;;;Use this function to grab what firmware you need +;;;This is setup to clone the firmware repo as it was on +;;;April 14th 2017 + +;;;If you want to update go to kernel.org and find the current commit +;;;it'll be a long string like below, and then change it here +;;;it'll fail when it runs your next guix commmand asking for this package +;;;and will give you the new sha256sum needed which you simply put below +;;;and that's that. (define-public firmware-non-free (package (name "firmware-non-free") @@ -53,12 +63,18 @@ (use-modules (guix build utils)) (let ((source (assoc-ref %build-inputs "source")) (fw-dir (string-append %output "/lib/firmware/"))) + ;;;I haven't figured out if the /lib/firmware/ needs to be changed + ;;;depending on what the git structure looks like but I don't think so (mkdir-p fw-dir) (for-each (lambda (file) (copy-file file (string-append fw-dir "/" (basename file)))) (find-files source "iwlwifi*")) + ;;;Whatever you need to change needs to be in this section + ;;;clone the git seperately so you can look through and see + ;;;where the driver is and what it's called + ;;;For instance this one install the intel wifi blobs #t)))) (home-page "") |
