stm32: do not use callPackage on something that isn't a derivation

This commit is contained in:
Sebastien Bourdeauducq 2019-06-01 11:12:59 +08:00
parent e5d2b8c10f
commit 7b165e3160

View File

@ -1,7 +1,7 @@
{ pkgs ? import <nixpkgs> {}, rustManifest ? ./stm32/channel-rust-nightly.toml }:
let
jobs = pkgs.callPackage ./stm32/default.nix {
jobs = import ./stm32/default.nix {
inherit rustManifest;
mozillaOverlay = import <mozillaOverlay>;
};