use default nixpkgs import only on top-level nix files
This commit is contained in:
parent
607a8fcfee
commit
83d84fc200
|
@ -1,7 +1,7 @@
|
||||||
# Install Vivado in /opt and add to /etc/nixos/configuration.nix:
|
# Install Vivado in /opt and add to /etc/nixos/configuration.nix:
|
||||||
# nix.sandboxPaths = ["/opt"];
|
# nix.sandboxPaths = ["/opt"];
|
||||||
|
|
||||||
{ pkgs ? import <nixpkgs> {}}:
|
{ pkgs }:
|
||||||
{ target
|
{ target
|
||||||
, variant
|
, variant
|
||||||
, buildCommand ? "python -m artiq.gateware.targets.${target} -V ${variant}"
|
, buildCommand ? "python -m artiq.gateware.targets.${target} -V ${variant}"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs ? import <nixpkgs> {},
|
{ pkgs,
|
||||||
diskImage ? "/opt/windows/c.img",
|
diskImage ? "/opt/windows/c.img",
|
||||||
qemuMem ? "2G",
|
qemuMem ? "2G",
|
||||||
testTimeout ? 600,
|
testTimeout ? 600,
|
||||||
|
|
Loading…
Reference in New Issue