use default nixpkgs import only on top-level nix files

pull/16/head
parent 607a8fcfee
commit 83d84fc200
  1. 2
      artiq/artiq-board.nix
  2. 2
      artiq/windows/run-test.nix

@ -1,7 +1,7 @@
# Install Vivado in /opt and add to /etc/nixos/configuration.nix:
# nix.sandboxPaths = ["/opt"];
{ pkgs ? import <nixpkgs> {}}:
{ pkgs }:
{ target
, variant
, buildCommand ? "python -m artiq.gateware.targets.${target} -V ${variant}"

@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {},
{ pkgs,
diskImage ? "/opt/windows/c.img",
qemuMem ? "2G",
testTimeout ? 600,

Loading…
Cancel
Save