mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
6dafee8d67
It requires a writable /nix/store to store the build result. Also, wait until we've reached multi-user.target before doing the build, and do a sync at the end to ensure all data to $out is properly written. http://hydra.nixos.org/build/6496716
8 lines
200 B
Nix
8 lines
200 B
Nix
{ system ? builtins.currentSystem }:
|
|
|
|
with import ../lib/testing.nix { inherit system; };
|
|
|
|
runInMachine {
|
|
drv = pkgs.patchelf;
|
|
machine = { config, pkgs, ... }: { services.sshd.enable = true; };
|
|
}
|