diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-12-19 15:48:29 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-12-19 15:54:09 +0100 |
commit | fc11dfd6b4f447e79614076cbea54a7eb07d1ee6 (patch) | |
tree | 2b312043f213e834974000da3c6e5fce3d639b9f /flake.nix | |
parent | 483a5b6cae314cf42c3977406f3927d88c0540ad (diff) | |
download | PrismLauncher-fc11dfd6b4f447e79614076cbea54a7eb07d1ee6.tar.gz PrismLauncher-fc11dfd6b4f447e79614076cbea54a7eb07d1ee6.tar.bz2 PrismLauncher-fc11dfd6b4f447e79614076cbea54a7eb07d1ee6.zip |
refactor(nix): use tomlplusplus from nixpkgs
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -5,10 +5,9 @@ nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; flake-compat = { url = "github:edolstra/flake-compat"; flake = false; }; libnbtplusplus = { url = "github:PrismLauncher/libnbtplusplus"; flake = false; }; - tomlplusplus = { url = "github:marzer/tomlplusplus"; flake = false; }; }; - outputs = { self, nixpkgs, libnbtplusplus, tomlplusplus, ... }: + outputs = { self, nixpkgs, libnbtplusplus, ... }: let # User-friendly version number. version = builtins.substring 0 8 self.lastModifiedDate; @@ -23,8 +22,8 @@ pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system}); packagesFn = pkgs: rec { - prismlauncher-qt5 = pkgs.libsForQt5.callPackage ./nix { inherit version self libnbtplusplus tomlplusplus; }; - prismlauncher = pkgs.qt6Packages.callPackage ./nix { inherit version self libnbtplusplus tomlplusplus; }; + prismlauncher-qt5 = pkgs.libsForQt5.callPackage ./nix { inherit version self libnbtplusplus; }; + prismlauncher = pkgs.qt6Packages.callPackage ./nix { inherit version self libnbtplusplus; }; }; in { |