summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-10-01 19:12:16 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-10-01 19:12:16 +0200
commit3f9196bd693e3722f22d2ef71eb95a12641f8c0e (patch)
treebc83a1a3393d82413cf788ae0e0a297b3601ffa9
parent3755c56caeb5b82b62197b7a7a3260e0a1cb3e69 (diff)
downloadnixos-3f9196bd693e3722f22d2ef71eb95a12641f8c0e.tar
nixos-3f9196bd693e3722f22d2ef71eb95a12641f8c0e.tar.gz
nixos-3f9196bd693e3722f22d2ef71eb95a12641f8c0e.tar.bz2
nixos-3f9196bd693e3722f22d2ef71eb95a12641f8c0e.tar.xz
nixos-3f9196bd693e3722f22d2ef71eb95a12641f8c0e.zip
Added GPIO to bragi
-rw-r--r--bragi.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index 0691bcdb..ee35f378 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -24,6 +24,13 @@ in {
24 24
25 nixpkgs.config.packageOverrides = pkgs: 25 nixpkgs.config.packageOverrides = pkgs:
26 rec { 26 rec {
27 stdenv = pkgs.stdenv // {
28 platform = pkgs.stdenv.platform // {
29 kernelExtraConfig = ''
30 GPIO_SYSFS y
31 '';
32 };
33 };
27 customizedHaskellPackages = pkgs.recurseIntoAttrs ( 34 customizedHaskellPackages = pkgs.recurseIntoAttrs (
28 pkgs.haskellPackages.override { 35 pkgs.haskellPackages.override {
29 extension = self: super: let 36 extension = self: super: let