From 44551738e4b9318060b618f5e7512f8714e75bd6 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Wed, 19 Jun 2024 15:24:26 +0200 Subject: [PATCH] Hydra attempt pt 2 --- flake.lock | 11 +++++------ flake.nix | 8 +++----- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index c4a10b4..3cc68ad 100644 --- a/flake.lock +++ b/flake.lock @@ -5,17 +5,16 @@ "systems": "systems" }, "locked": { - "lastModified": 1694529238, - "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" + "id": "flake-utils", + "type": "indirect" } }, "nixpkgs": { diff --git a/flake.nix b/flake.nix index a24234f..0ab41c9 100644 --- a/flake.nix +++ b/flake.nix @@ -1,14 +1,12 @@ { description = "Curriculum Vitae"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils}: - flake-utils.lib.eachDefaultSystem (system: - let pkgs = import nixpkgs { inherit system; }; + let pkgs = nixpkgs.legacyPackages.x86_64-linux; inputName = "cv"; in { - packages = rec { + packages.x86_64-linux = rec { devShell = pkgs.mkShell { buildInputs = with pkgs; [ coreutils @@ -40,5 +38,5 @@ hydraJobs = { inherit (self) packages; }; - }); + }; }