Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/tests/run-in-machine.nix

11 lines
247 B
Nix
Raw Normal View History

* runInMachine: use buildVM rather than buildVirtualNetwork since there is only one machine. * Add a simple test case for runInMachine. svn path=/nixos/trunk/; revision=25535
2011-01-13 10:54:07 +00:00
{ nixpkgs ? ../../nixpkgs
, system ? builtins.currentSystem
}:
* Fix the runInMachine test. svn path=/nixos/trunk/; revision=28428
2011-08-09 14:06:04 +00:00
with import ../lib/testing.nix { inherit nixpkgs system; };
* runInMachine: use buildVM rather than buildVirtualNetwork since there is only one machine. * Add a simple test case for runInMachine. svn path=/nixos/trunk/; revision=25535
2011-01-13 10:54:07 +00:00
runInMachine {
drv = (import nixpkgs { }).aterm;
* runInMachine: properly evaluate the machine configuration. svn path=/nixos/trunk/; revision=25536
2011-01-13 11:39:03 +00:00
machine = { config, pkgs, ... }: { services.sshd.enable = true; };
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 40ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API