mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
does-it-build updates
This commit is contained in:
parent
06b0de2840
commit
0cf252399c
3 changed files with 12 additions and 3 deletions
|
|
@ -1,4 +1,11 @@
|
|||
{ pkgs, lib, does-it-build, ... }: {
|
||||
{ pkgs, lib, does-it-build, my-projects-versions, ... }:
|
||||
let
|
||||
does-it-build-base = does-it-build { inherit pkgs; };
|
||||
does-it-build-with-commit = does-it-build-base.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
DOES_IT_BUILD_OVERRIDE_VERSION = my-projects-versions.does-it-build;
|
||||
});
|
||||
in
|
||||
{
|
||||
systemd.services.does-it-build = {
|
||||
description = "https://github.com/Noratrieb/does-it-build";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
|
@ -8,7 +15,7 @@
|
|||
serviceConfig = {
|
||||
User = "does-it-build";
|
||||
Group = "does-it-build";
|
||||
ExecStart = "${lib.getExe' (does-it-build {inherit pkgs;}) "does-it-build" }";
|
||||
ExecStart = "${lib.getExe' (does-it-build-with-commit) "does-it-build" }";
|
||||
Environment = "DB_PATH=/var/lib/does-it-build/db.sqlite";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@
|
|||
quotdd = import (fetchTarball "https://github.com/Noratrieb/quotdd/archive/${my-projects-versions.quotdd}.tar.gz");
|
||||
does-it-build = import (fetchTarball "https://github.com/Noratrieb/does-it-build/archive/${my-projects-versions.does-it-build}.tar.gz");
|
||||
|
||||
inherit my-projects-versions;
|
||||
|
||||
inherit nixpkgs-path;
|
||||
|
||||
networkingConfig = {
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@
|
|||
"slides": "0401f35c22b124b69447655f0c537badae9e223c",
|
||||
"pretense": "270b01fc1118dfd713c1c41530d1a7d98f04527d",
|
||||
"quotdd": "e922229e1d9e055be35dabd112bafc87a0686548",
|
||||
"does-it-build": "5ec24bbfaf39edd60865b2879107835b99e133d0"
|
||||
"does-it-build": "9de21d41983e86fa8afe5c373c6c7b9e3deece28"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue