electron: passthru headers
This commit is contained in:
@@ -33,6 +33,11 @@ let
|
||||
sha256 = hash;
|
||||
};
|
||||
|
||||
headersFetcher = vers: hash: fetchurl {
|
||||
url = "https://atom.io/download/electron/v${vers}/node-v${vers}-headers.tar.gz";
|
||||
sha256 = hash;
|
||||
};
|
||||
|
||||
tags = {
|
||||
i686-linux = "linux-ia32";
|
||||
x86_64-linux = "linux-x64";
|
||||
@@ -47,6 +52,7 @@ let
|
||||
common = platform: {
|
||||
inherit name version meta;
|
||||
src = fetcher version (get tags platform) (get hashes platform);
|
||||
passthru.headers = headersFetcher version hashes.headers;
|
||||
};
|
||||
|
||||
electronLibPath = with stdenv.lib; makeLibraryPath (
|
||||
|
||||
Reference in New Issue
Block a user