Octol1ttle / ElyPrismLauncher

PrismLauncher with Mojang accounts replaced with Ely.by
GNU General Public License v3.0
111 stars 4 forks source link

Nix installation #15

Closed ArtemChandragupta closed 5 months ago

ArtemChandragupta commented 5 months ago

Goal

I use NixOS and would love to se an option to install a launcher using a flake

Motivation

This is very convenient and nixy

Specification

Prism launcher have official nixpkg and flake, and your fork have it too, but it is identical to the original launcher. Is there a way to install it with a flake?

Drawbacks

No

Unresolved Questions

-

Alternatives Considered

-

This suggestion is unique

You may use the editor below to elaborate further.

No response

ArtemChandragupta commented 5 months ago

I tried to do so and got an error:

My fake was prismlauncher.url = "https://github.com/Octol1ttle/ElyPrismLauncher";

> Updating flake
error:
       … while updating the lock file of flake 'path:/home/artem/nix?lastModified=1715515506&narHash=sha256-FsR/vkk3TazX496bI1kDNVibDpdPRFE0XT%2Bo1Gy681I%3D'

       … while updating the flake input 'prismlauncher'

       … while fetching the input 'https://github.com/Octol1ttle/ElyPrismLauncher'

       error: failed to open archive: Unrecognized archive format
> Building NixOS configuration
error:
       … while updating the lock file of flake 'path:/home/artem/nix?lastModified=1715515506&narHash=sha256-FsR/vkk3TazX496bI1kDNVibDpdPRFE0XT%2Bo1Gy681I%3D'

       … while updating the flake input 'prismlauncher'

       … while fetching the input 'https://github.com/Octol1ttle/ElyPrismLauncher'

       error: failed to open archive: Unrecognized archive format
┏━ 1 Errors: 
┃ error:
┃        … while updating the lock file of flake 'path:/home/artem/nix?lastModified=1715515506&narHash…
┃ 
┃        … while updating the flake input 'prismlauncher'
┃ 
┃        … while fetching the input 'https://github.com/Octol1ttle/ElyPrismLauncher'
┃ 
┃        error: failed to open archive: Unrecognized archive format
┣━━━                                                            
┗━ ∑ ⚠ Exited with 1 errors reported by nix at 15:05:24 after 0s
Error: 
   0: Command exited with status Exited(1)

Location:
   src/commands.rs:151
Octol1ttle commented 5 months ago

I'm not interested in adding Nix packages as of now.