From 2dbccc394a4964a2a3badd192184b6d35dd63336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 23 Mar 2023 12:31:51 +0100 Subject: Rework how I pass packages to the NixOS --- devShells/qt.nix | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) (limited to 'devShells/qt.nix') diff --git a/devShells/qt.nix b/devShells/qt.nix index eb9d3e9..2070009 100644 --- a/devShells/qt.nix +++ b/devShells/qt.nix @@ -1,22 +1,19 @@ { - system, - nixpkgs, + pkgs, default, c, -}: let - pkgs = nixpkgs.legacyPackages.${system}; -in - pkgs.mkShell { - packages = with pkgs; - with libsForQt5; [ - qtbase - qttranslations - qtserialport - qtwebsockets - doctest - qtcharts - qtwayland - ]; - inputsFrom = with pkgs; [default c]; - meta.platforms = ["x86_64-linux"]; - } +}: +pkgs.mkShell { + packages = with pkgs; + with libsForQt5; [ + qtbase + qttranslations + qtserialport + qtwebsockets + doctest + qtcharts + qtwayland + ]; + inputsFrom = with pkgs; [default c]; + meta.platforms = pkgs.lib.platforms.linux; +} -- cgit v1.2.3