From 896dac68e1943e2d24f25aa057b7542a8600ab66 Mon Sep 17 00:00:00 2001 From: Savely Krendelhoff Date: Mon, 6 Feb 2023 16:21:17 +0300 Subject: [PATCH] [Chore] Update release derivation Problem: During flakifycation PR `release/default.nix` was missed. Solution: Update it to use flake outputs. --- release/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/release/default.nix b/release/default.nix index 66eafcd..d5956a2 100644 --- a/release/default.nix +++ b/release/default.nix @@ -1,14 +1,14 @@ # SPDX-FileCopyrightText: 2019 Serokell # # SPDX-License-Identifier: MPL-2.0 - -{ pkgs ? import (import ../nix/sources.nix).nixpkgs { }, timestamp }: let - xrefcheck-x86_64-linux = - (import ../xrefcheck.nix { linux-static = true; }).components.exes.xrefcheck; + defaultNix = import ../default.nix; +in +{ pkgs ? defaultNix.legacyPackages, timestamp }: +let + xrefcheck-x86_64-linux = defaultNix.packages.xrefcheck-static; - xrefcheck-x86_64-windows = - (import ../xrefcheck.nix { windows = true; }).components.exes.xrefcheck; + xrefcheck-x86_64-windows = defaultNix.packages.xrefcheck-windows; mkZip = { name, paths, compression ? 5 }: pkgs.stdenvNoCC.mkDerivation {