enhancement: remove impure <nixpkgs>

Co-Authored-By: Jamie Magee <jamie.magee@gmail.com>
Co-Authored-By: Doron Behar <doron.behar@gmail.com>
This commit is contained in:
authored and Doron Behar committed 2026-05-29 14:40:49 +03:00
1 parent f1b7ff92cd
commit d84f0810be
4 files changed
+35 -17

No files matched your search

+6 -4
View File
@@ -1,9 +1,11 @@
{
lib,
fetchFromGitLab,
}:
let
nixpkgs = import <nixpkgs> { };
pkgs = nixpkgs.pkgs;
lib = nixpkgs.lib;
sources = lib.importJSON ./sources.json;
reformDebianPackages = pkgs.fetchFromGitLab sources.reformDebianPackages;
reformDebianPackages = fetchFromGitLab sources.reformDebianPackages;
in
map (lib.removePrefix "${reformDebianPackages}/") (
lib.filesystem.listFilesRecursive "${reformDebianPackages}/linux/patches${lib.versions.majorMinor sources.modDirVersion}"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
nix eval --file updateKernelPatches.nix > kernelPatches.nix
nix eval .#mnt-reform-kernel-patches > kernelPatches.nix
nix fmt kernelPatches.nix