diff options
author | Freya Murphy <freya@freyacat.org> | 2025-07-22 20:36:23 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-07-22 20:36:23 -0400 |
commit | a1e910c70cb6d5f33c23eb274b63c2ea12d56dea (patch) | |
tree | 9869ee845ecde44d9f5fa3756eeb6eb784aea8af /pkgs/unofficial-homestuck-collection/phantomjs.patch | |
parent | use NIXOS_OZONE_WL instead of manually setting ozone flags (diff) | |
download | dotfiles-nix-a1e910c70cb6d5f33c23eb274b63c2ea12d56dea.tar.gz dotfiles-nix-a1e910c70cb6d5f33c23eb274b63c2ea12d56dea.tar.bz2 dotfiles-nix-a1e910c70cb6d5f33c23eb274b63c2ea12d56dea.zip |
unofficial-homestuck-collection: refactor package
Diffstat (limited to '')
-rw-r--r-- | pkgs/unofficial-homestuck-collection/phantomjs.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/pkgs/unofficial-homestuck-collection/phantomjs.patch b/pkgs/unofficial-homestuck-collection/phantomjs.patch deleted file mode 100644 index e59a89a..0000000 --- a/pkgs/unofficial-homestuck-collection/phantomjs.patch +++ /dev/null @@ -1,36 +0,0 @@ -406,416c406 -< if (!downloadSpec) { -< console.error( -< 'Unexpected platform or architecture: ' + getTargetPlatform() + '/' + getTargetArch() + '\n' + -< 'It seems there is no binary available for your platform/architecture\n' + -< 'Try to install PhantomJS globally') -< exit(1) -< } -< -< var downloadUrl = downloadSpec.url -< var downloadedFile -< ---- -> var downloadedFile = "phantomjs.tar.bz2" -418,436c408 -< // Can't use a global version so start a download. -< var tmpPath = findSuitableTempDirectory() -< var fileName = downloadUrl.split('/').pop() -< downloadedFile = path.join(tmpPath, fileName) -< -< if (fs.existsSync(downloadedFile)) { -< console.log('Download already available at', downloadedFile) -< return verifyChecksum(downloadedFile, downloadSpec.checksum) -< } -< return false -< }).then(function (verified) { -< if (verified) { -< return downloadedFile -< } -< -< // Start the install. -< console.log('Downloading', downloadUrl) -< console.log('Saving to', downloadedFile) -< return requestBinary(getRequestOptions(), downloadedFile) ---- -> return downloadedFile |