Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ad16a82b8355
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 28dd1158ff18
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Sep 19, 2017

  1. tp_smapi with hdaps

    woffs authored and garbas committed Sep 19, 2017

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    minijackson Rémi NICOLE
    Copy the full SHA
    a3e806e View commit details
  2. circumvent hdaps name clash

    woffs authored and garbas committed Sep 19, 2017
    Copy the full SHA
    28dd115 View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 pkgs/os-specific/linux/tp_smapi/default.nix
2 changes: 2 additions & 0 deletions pkgs/os-specific/linux/tp_smapi/default.nix
Original file line number Diff line number Diff line change
@@ -18,11 +18,13 @@ stdenv.mkDerivation rec {
makeFlags = [
"KBASE=${kernel.dev}/lib/modules/${kernel.modDirVersion}"
"SHELL=/bin/sh"
"HDAPS=1"
];

installPhase = ''
install -v -D -m 644 thinkpad_ec.ko "$out/lib/modules/${kernel.modDirVersion}/kernel/drivers/firmware/thinkpad_ec.ko"
install -v -D -m 644 tp_smapi.ko "$out/lib/modules/${kernel.modDirVersion}/kernel/drivers/firmware/tp_smapi.ko"
install -v -D -m 644 hdaps.ko "$out/lib/modules/${kernel.modDirVersion}/kernel/drivers/firmware/hdapsd.ko"
'';

dontStrip = true;