aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-12-19 15:48:29 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-12-19 15:54:09 +0100
commitfc11dfd6b4f447e79614076cbea54a7eb07d1ee6 (patch)
tree2b312043f213e834974000da3c6e5fce3d639b9f /flake.nix
parent483a5b6cae314cf42c3977406f3927d88c0540ad (diff)
downloadPrismLauncher-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.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index b1e07c91..5615a758 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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
{