Skip to content

Instantly share code, notes, and snippets.

@mbbx6spp
Last active October 15, 2021 16:51
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 mbbx6spp/52eb76122e930d56378a582984bbbeca to your computer and use it in GitHub Desktop.
Save mbbx6spp/52eb76122e930d56378a582984bbbeca to your computer and use it in GitHub Desktop.
{
name = "mbbx6spp-test";
epoch = 2021;
description = "A test of /proc fs inputs for a Hydra jobset";
inputs = {
uptime = builtins.readFile /proc/uptime;
nixpkgs.url = "github:NixOS/nixpkgs/release-21.05";
};
outputs = { self, nixpkgs, uptime }: {
checks."x86_64-linux".test = nixpkgs.hello.override { name = "hello-${uptime}"; };
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment