tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
bbswitch: switch to fetchFromGitHub
Felix Buehler
4 years ago
2653630f
3722e4fb
+6
-4
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
bbswitch
default.nix
+6
-4
pkgs/os-specific/linux/bbswitch/default.nix
···
1
-
{ lib, stdenv, fetchurl, fetchpatch, kernel, runtimeShell }:
2
3
let
4
baseName = "bbswitch";
···
10
stdenv.mkDerivation {
11
inherit name;
12
13
-
src = fetchurl {
14
-
url = "https://github.com/Bumblebee-Project/${baseName}/archive/v${version}.tar.gz";
15
-
sha256 = "0xql1nv8dafnrcg54f3jsi3ny3cd2ca9iv73pxpgxd2gfczvvjkn";
0
0
16
};
17
18
patches = [
···
1
+
{ lib, stdenv, fetchFromGitHub, fetchpatch, kernel, runtimeShell }:
2
3
let
4
baseName = "bbswitch";
···
10
stdenv.mkDerivation {
11
inherit name;
12
13
+
src = fetchFromGitHub {
14
+
owner = "Bumblebee-Project";
15
+
repo = "bbswitch";
16
+
rev = "v${version}";
17
+
hash = "sha256-FHC8myKnouNDERVds2QCJj1ZstjHrOzFpb+FDiSBjL4=";
18
};
19
20
patches = [