diff options
author | DioEgizio <83089242+DioEgizio@users.noreply.github.com> | 2022-10-19 12:13:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-19 12:13:13 +0200 |
commit | c6515c1dad7e2d3698e78398f838ac60bd5d376f (patch) | |
tree | d10673a079c0815d14b2dd4c3500ebe9ea58f8fc /nix/NIX.md | |
parent | ddf168c5361f99f25b881d839c5eb30aff3d4ee9 (diff) | |
parent | 8201d1df0279693ab70a00e205a2612878b1d6b5 (diff) | |
download | PrismLauncher-c6515c1dad7e2d3698e78398f838ac60bd5d376f.tar.gz PrismLauncher-c6515c1dad7e2d3698e78398f838ac60bd5d376f.tar.bz2 PrismLauncher-c6515c1dad7e2d3698e78398f838ac60bd5d376f.zip |
Merge pull request #54 from Samisafool/develop
Diffstat (limited to 'nix/NIX.md')
-rw-r--r-- | nix/NIX.md | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -5,22 +5,22 @@ To import with flakes use ```nix { inputs = { - polymc.url = "github:PolyMC/PolyMC"; + prismlauncher.url = "github:PrismLauncher/PrismLauncher"; }; ... - nixpkgs.overlays = [ inputs.polymc.overlay ]; ## Within configuration.nix - environment.systemPackages = with pkgs; [ polymc ]; ## + nixpkgs.overlays = [ inputs.prismlauncher.overlay ]; ## Within configuration.nix + environment.systemPackages = with pkgs; [ prismlauncher ]; ## } ``` To import without flakes use channels: ```sh -nix-channel --add https://github.com/PolyMC/PolyMC/archive/master.tar.gz polymc -nix-channel --update polymc -nix-env -iA polymc +nix-channel --add https://github.com/PrismLauncher/PrismLauncher/archive/master.tar.gz prismlauncher +nix-channel --update prismlauncher +nix-env -iA prismlauncher ``` or alternatively you can use @@ -28,9 +28,9 @@ or alternatively you can use ```nix { nixpkgs.overlays = [ - (import (builtins.fetchTarball "https://github.com/PolyMC/PolyMC/archive/develop.tar.gz")).overlay + (import (builtins.fetchTarball "https://github.com/PrismLauncher/PrismLauncher/archive/develop.tar.gz")).overlay ]; - environment.systemPackages = with pkgs; [ polymc ]; + environment.systemPackages = with pkgs; [ prismlauncher ]; } ``` |