flake: lock nixpkgs due build issue (https://github.com/nix-community/fenix/pull/184)
All checks were successful
nix-build-publish / check (push) Successful in 6m37s

flake: add hydraJobs
This commit is contained in:
L-Nafaryus 2024-12-01 20:30:25 +05:00
parent e3b05ea5e2
commit f6d50c99a7
Signed by: L-Nafaryus
GPG Key ID: 553C97999B363D38
2 changed files with 16 additions and 12 deletions

20
flake.lock generated
View File

@ -3,11 +3,11 @@
"advisory-db": { "advisory-db": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1732530460, "lastModified": 1732819720,
"narHash": "sha256-1SceEHyFdHnoWE/AnoDZRu/9+Ift3Oc1+iQzmbP7OBU=", "narHash": "sha256-6H7mKBKw3VErpGcCGEamBYJsopvqqdFmJhl8slfCtOQ=",
"owner": "rustsec", "owner": "rustsec",
"repo": "advisory-db", "repo": "advisory-db",
"rev": "4676c5529dd5319b9962e42bf984797f0dd57f5b", "rev": "9dc4a0bb102451e3c71e1b639068aec5a3e1f5f3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -18,11 +18,11 @@
}, },
"crane": { "crane": {
"locked": { "locked": {
"lastModified": 1732407143, "lastModified": 1733016477,
"narHash": "sha256-qJOGDT6PACoX+GbNH2PPx2ievlmtT1NVeTB80EkRLys=", "narHash": "sha256-Hh0khbqBeCtiNS0SJgqdWrQDem9WlPEc2KF5pAY+st0=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "f2b4b472983817021d9ffb60838b2b36b9376b20", "rev": "76d64e779e2fbaf172110038492343a8c4e29b55",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -107,17 +107,17 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1732521221, "lastModified": 1731604181,
"narHash": "sha256-2ThgXBUXAE1oFsVATK1ZX9IjPcS4nKFOAjhPNKuiMn0=", "narHash": "sha256-uVtsFX1KpvDiDe1adeUkTK2YesWw1exgQ0nDMTfmJi0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4633a7c72337ea8fd23a4f2ba3972865e3ec685d", "rev": "c46290747b2aaf090f48a478270feb858837bf11",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c46290747b2aaf090f48a478270feb858837bf11",
"type": "github" "type": "github"
} }
}, },

View File

@ -11,7 +11,7 @@
}; };
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/c46290747b2aaf090f48a478270feb858837bf11";
crane = { crane = {
url = "github:ipetkov/crane"; url = "github:ipetkov/crane";
}; };
@ -328,7 +328,7 @@
serviceConfig = { serviceConfig = {
Restart = "always"; Restart = "always";
ExecStart = "${lib.getExe cfg.package}"; ExecStart = "${lib.getExe' cfg.package "elnafo-radio"}";
User = "elnafo-radio"; User = "elnafo-radio";
WorkingDirectory = cfg.dataDir; WorkingDirectory = cfg.dataDir;
}; };
@ -377,5 +377,9 @@
}) })
]; ];
}; };
hydraJobs = {
inherit (self) packages;
};
}; };
} }