From 929d898bf77ee0d8f8d4f504483369411e2009da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 24 Aug 2022 08:47:15 +0200 Subject: devShells: allow easier inheritence --- devShells/riscv.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'devShells/riscv.nix') diff --git a/devShells/riscv.nix b/devShells/riscv.nix index bd19eef..e9e33ef 100644 --- a/devShells/riscv.nix +++ b/devShells/riscv.nix @@ -1,4 +1,6 @@ -{ system, nixpkgs, default }: +{ system, nixpkgs +, default, c +}: let pkgs = nixpkgs.legacyPackages.${system}; pkgs-riscv = import nixpkgs.outPath { @@ -18,6 +20,6 @@ in pkgs.mkShell { ]) ++ (with pkgs-riscv.buildPackages; [ gcc pkg-config ]); - inputsFrom = [ default ]; + inputsFrom = [ default c ]; meta.platforms = nixpkgs.lib.platforms.linux; } -- cgit v1.2.3