Compare commits

...

3 Commits

Author SHA1 Message Date
d20bcf6a2d Update flake and cargo lock 2025-01-09 21:37:23 +01:00
808698dd1c Clean up flake code 2025-01-09 21:37:06 +01:00
59864de6bd flake: Limit hydra jobs to x86 and aarch64 2025-01-09 21:27:41 +01:00
3 changed files with 741 additions and 515 deletions

1033
Cargo.lock generated

File diff suppressed because it is too large Load Diff

23
flake.lock generated
View File

@ -1,17 +1,12 @@
{ {
"nodes": { "nodes": {
"crane": { "crane": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": { "locked": {
"lastModified": 1717469187, "lastModified": 1736101677,
"narHash": "sha256-UVvFGiWFGPfVXG7Xr6HPKChx9hhtzkGaGAS/Ph1Khjg=", "narHash": "sha256-iKOPq86AOWCohuzxwFy/MtC8PcSVGnrxBOvxpjpzrAY=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "7e86136dc729cdf237aa59a5a02687bc0d1144b6", "rev": "61ba163d85e5adeddc7b3a69bb174034965965b2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -25,11 +20,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1731533236,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -40,11 +35,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1716715802, "lastModified": 1736241350,
"narHash": "sha256-usk0vE7VlxPX8jOavrtpOqphdfqEQpf9lgedlY/r66c=", "narHash": "sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e2dd4e18cc1c7314e24154331bae07df76eb582f", "rev": "8c9fd3e564728e90829ee7dbac6edc972971cd0f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -3,24 +3,20 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
crane = {
url = "github:ipetkov/crane";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
crane.url = "github:ipetkov/crane";
}; };
outputs = outputs =
{ {
self, self,
nixpkgs, nixpkgs,
crane,
flake-utils, flake-utils,
crane,
... ...
}: }:
flake-utils.lib.eachDefaultSystem ( let
packageOutputs = flake-utils.lib.eachDefaultSystem (
system: system:
let let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
@ -117,10 +113,14 @@
myCrateCoverage myCrateCoverage
; ;
}; };
hydraJobs = {
"sheet-organizer" = myCrate;
};
} }
); );
in
packageOutputs
// {
hydraJobs = {
x86_64-linux.sheet-organizer = packageOutputs.packages.x86_64-linux;
aarch64-linux.sheet-organizer = packageOutputs.packages.aarch64-linux;
};
};
} }