Skip to content

Instantly share code, notes, and snippets.

@spencerjanssen
Created January 31, 2022 20:46
Show Gist options
  • Save spencerjanssen/786cc8c2b047faf92767917e0fb2dcc6 to your computer and use it in GitHub Desktop.
Save spencerjanssen/786cc8c2b047faf92767917e0fb2dcc6 to your computer and use it in GitHub Desktop.
declarative project
in job ‘jobsets’:
error: access to canonical path '/nix/store/57904rflsfh46y7fxi62rzc7sidc9vmq-user-environment' is forbidden in restricted mode
{
"enabled": 1,
"hidden": false,
"description": "Jobsets",
"nixexprinput": "dotfiles",
"nixexprpath": ".hydra/spec.nix",
"checkinterval": 600,
"schedulingshares": 100,
"enableemail": false,
"emailoverride": "[email protected]",
"keepnr": 3,
"inputs": {
"dotfiles": {
"type": "git",
"value": "git://github.com/spencerjanssen/dotfiles.git declarative-hydra",
"emailresponsible": false
},
"nixpkgs": {
"type": "git",
"value": "git://github.com/NixOS/nixpkgs.git nixos-unstable",
"emailresponsible": false
}
}
}
{ nixpkgs, declInput }:
let pkgs = import nixpkgs {};
in {
jobsets = pkgs.writeTextFile {
name = "spec.json";
text = "{}";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment