From bbcadd85fd9ed890bd34a236ed5753df9e846f34 Mon Sep 17 00:00:00 2001 From: Karim Vergnes Date: Fri, 6 Mar 2026 12:15:23 +0100 Subject: [PATCH] feat: specify ourselves as Nix flake source This allows users to directly use the criu package declared in the flake as a bleeding-edge substitute to the one found in Nixpkgs, and leverage the existing NixOS testing infrastructure with their development version. Signed-off-by: Karim Vergnes --- flake.lock | 6 +++--- flake.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 90c914452..8d169a6c4 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1744463964, - "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=", + "lastModified": 1772624091, + "narHash": "sha256-QKyJ0QGWBn6r0invrMAK8dmJoBYWoOWy7lN+UHzW1jc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650", + "rev": "80bdc1e5ce51f56b19791b52b2901187931f5353", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index dc2429ffc..2333d5365 100644 --- a/flake.nix +++ b/flake.nix @@ -71,7 +71,7 @@ devShells.default = devShell; # Build CRIU package as well - packages.default = pkgs.criu; + packages.default = pkgs.criu.overrideAttrs { src = ./.; }; } ); }