electron_10: init at 10.1.1

This commit is contained in:
Pavol Rusnak
2020-09-09 10:05:03 +02:00
parent f73b762aac
commit 8d9fadd3e0
3 changed files with 12 additions and 4 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ let
license = licenses.mit;
maintainers = with maintainers; [ travisbhartwell manveru prusnak ];
platforms = [ "x86_64-darwin" "x86_64-linux" "i686-linux" "armv7l-linux" "aarch64-linux" ];
knownVulnerabilities = optional (version < "6") "Electron version ${version} is EOL";
knownVulnerabilities = optional (versionOlder version "6.0.0") "Electron version ${version} is EOL";
};
fetcher = vers: tag: hash: fetchurl {
@@ -34,7 +34,7 @@ let
src = fetcher version (get tags platform) (get hashes platform);
};
electronLibPath = stdenv.lib.makeLibraryPath ([ libuuid at-spi2-atk at-spi2-core ] ++ stdenv.lib.optionals (version > "9") [ libdrm mesa ]);
electronLibPath = with stdenv.lib; makeLibraryPath ([ libuuid at-spi2-atk at-spi2-core ] ++ optionals (! versionOlder version "9.0.0") [ libdrm mesa ]);
linux = {
buildInputs = [ glib gtk3 ];