Skip to content

Instantly share code, notes, and snippets.

@exarkun

exarkun/shell Secret

Created August 7, 2019 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/aaab98bc897497982101fa3dcb6892a1 to your computer and use it in GitHub Desktop.
Save exarkun/aaab98bc897497982101fa3dcb6892a1 to your computer and use it in GitHub Desktop.
failing at nix testing
[exarkun@baryon:~/Work/PrivateStorage/PrivateStorageio]$ nix eval --file nixos/lib/tests/test_ini.nix
error: more arguments are required
Try 'nix --help' for more information.
[exarkun@baryon:~/Work/PrivateStorage/PrivateStorageio]$ nix eval --file nixos/lib/tests/test_ini.nix ''
[ ]
let
pkgs = import <nixpkgs> { };
ini = import ../ini.nix;
in
pkgs.lib.runTests
{ empty =
{ name = "empty";
expected = "";
expr = ini.allConfigSectionsText { };
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment