Skip to content

Commit

Permalink
packages/radical-native: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkitten committed Sep 13, 2020
1 parent 175e52c commit bffa44e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
6 changes: 5 additions & 1 deletion desktop.nix
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:

{
imports = [
Expand All @@ -15,6 +15,8 @@
'';
};

kernelPackages = pkgs.linuxPackages_zen;

kernelModules = [ "v4l2loopback" ];

blacklistedKernelModules = [ "hid_steam" ];
Expand Down Expand Up @@ -45,6 +47,8 @@
};
};

powerManagement.cpuFreqGovernor = lib.mkDefault "schedutil";

environment.sessionVariables = {
MOZ_ENABLE_WAYLAND = "1";
RADV_PERFTEST = "aco";
Expand Down
2 changes: 0 additions & 2 deletions devices/boson/default.nix
Expand Up @@ -8,8 +8,6 @@
];

boot = {
kernelPackages = pkgs.linuxPackages_latest;

kernelModules = [ "nct6775" ];

kernelParams = [
Expand Down
15 changes: 7 additions & 8 deletions packages/radical-native/default.nix
Expand Up @@ -2,15 +2,14 @@

rustPlatform.buildRustPackage {
name = "radical-native";
src = /home/ash/Projects/Not-Mine/radical-native;
#src = fetchFromGitHub {
# owner = "stoically";
# repo = "radical-native";
# rev = "b7ee434a63d6cbe7c21d2b6fdb7193d6d03bb9ba";
# sha256 = "1yy6rzy5xxsx98vqcn7wg2w80fdzgv9mqjdnafjkpw8hrj2s6lz8";
#};
src = fetchFromGitHub {
owner = "stoically";
repo = "radical-native";
rev = "c1216f85a1da9df559217e02b33c90c343348705";
sha256 = "1hinfa07gpfnvlk4wy0fql9q6wvnxa2dbvl9zqkkcfbzc4sl5zlm";
};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gnome3.libsecret sqlcipher ];
cargoSha256 = "03y2y29zs6lxhdm5naydl5iwpv6piw54kq9xv6yni0afjg9r8mmp";
cargoSha256 = "0l8kq6mfvbpb52avlxvbqq0dpv5r41dkfp9b8jqal3x16d5k47qk";
}

0 comments on commit bffa44e

Please sign in to comment.