1
0
Fork 0

Hydra attempt pt 2

This commit is contained in:
Nox Sluijtman 2024-06-19 15:24:26 +02:00
parent b4b16218b8
commit 44551738e4
2 changed files with 8 additions and 11 deletions

View file

@ -5,17 +5,16 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1694529238, "lastModified": 1710146030,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384", "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "numtide", "id": "flake-utils",
"repo": "flake-utils", "type": "indirect"
"type": "github"
} }
}, },
"nixpkgs": { "nixpkgs": {

View file

@ -1,14 +1,12 @@
{ description = "Curriculum Vitae"; { description = "Curriculum Vitae";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
}; };
outputs = { self, nixpkgs, flake-utils}: outputs = { self, nixpkgs, flake-utils}:
flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.x86_64-linux;
let pkgs = import nixpkgs { inherit system; };
inputName = "cv"; inputName = "cv";
in { in {
packages = rec { packages.x86_64-linux = rec {
devShell = pkgs.mkShell { devShell = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
coreutils coreutils
@ -40,5 +38,5 @@
hydraJobs = { hydraJobs = {
inherit (self) packages; inherit (self) packages;
}; };
}); };
} }