diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-09-30 19:44:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 19:44:45 +0200 |
commit | 0dca9cb6b89b9ce358e8d673d1fca8da6723ed49 (patch) | |
tree | d610d5bcf6d1e0c0a3a416e6097172a28b092ba4 /flake.nix | |
parent | 370c3aa5985698351e706e61c660a3a566a5f09b (diff) | |
parent | 0f59a1dde12f94eaff71f6f6b3d8d271c2dcce26 (diff) | |
download | PrismLauncher-0dca9cb6b89b9ce358e8d673d1fca8da6723ed49.tar.gz PrismLauncher-0dca9cb6b89b9ce358e8d673d1fca8da6723ed49.tar.bz2 PrismLauncher-0dca9cb6b89b9ce358e8d673d1fca8da6723ed49.zip |
Merge pull request #1162 from Trial97/feature/Replace-toml-library
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -5,9 +5,10 @@ nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; flake-compat = { url = "github:edolstra/flake-compat"; flake = false; }; libnbtplusplus = { url = "github:PolyMC/libnbtplusplus"; flake = false; }; + tomlplusplus = { url = "github:marzer/tomlplusplus"; flake = false; }; }; - outputs = { self, nixpkgs, libnbtplusplus, ... }: + outputs = { self, nixpkgs, libnbtplusplus, tomlplusplus, ... }: let # User-friendly version number. version = builtins.substring 0 8 self.lastModifiedDate; @@ -22,8 +23,8 @@ pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system}); packagesFn = pkgs: rec { - polymc = pkgs.libsForQt5.callPackage ./nix { inherit version self libnbtplusplus; }; - polymc-qt6 = pkgs.qt6Packages.callPackage ./nix { inherit version self libnbtplusplus; }; + polymc = pkgs.libsForQt5.callPackage ./nix { inherit version self libnbtplusplus tomlplusplus; }; + polymc-qt6 = pkgs.qt6Packages.callPackage ./nix { inherit version self libnbtplusplus tomlplusplus; }; }; in { |