nix: improve devshell

This commit is contained in:
Johannes Jöns 2024-07-06 09:57:10 +02:00
parent b361cdfcc7
commit 8c3becf843

View file

@ -1,10 +1,10 @@
{ {
pkgs, pkgs ? import <nixpkgs>,
system, system ? builtins.currentSystem,
inputs, inputs ? { self = import ./flake.nix; },
}: }:
pkgs.mkShell { pkgs.mkShell {
packages = with pkgs; []; packages = with pkgs; [];
inputsFrom = with inputs.self.legacyPackages.${system}; [ backend web native ]; inputsFrom = with inputs.self.outputs.legacyPackages.${system}; [ backend web native ];
} }