diff options
author | Karel Kočí <cynerd@email.cz> | 2023-03-23 12:31:51 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-03-23 12:31:51 +0100 |
commit | 2dbccc394a4964a2a3badd192184b6d35dd63336 (patch) | |
tree | d11b10501f7f0e520898590969a5c040d6f739f7 /devShells/qt.nix | |
parent | 28f1ed4a6a1cbf9b32904a010310e3da0f29b81b (diff) | |
download | nixos-personal-2dbccc394a4964a2a3badd192184b6d35dd63336.tar.gz nixos-personal-2dbccc394a4964a2a3badd192184b6d35dd63336.tar.bz2 nixos-personal-2dbccc394a4964a2a3badd192184b6d35dd63336.zip |
Rework how I pass packages to the NixOS
Diffstat (limited to 'devShells/qt.nix')
-rw-r--r-- | devShells/qt.nix | 35 |
1 files changed, 16 insertions, 19 deletions
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; +} |