From 2c8ab5e48f259c7544b5ae6280f9301ad07074ae Mon Sep 17 00:00:00 2001
From: Florian RICHER <florian.richer@protonmail.com>
Date: Mon, 17 Feb 2025 21:09:57 +0100
Subject: [PATCH] [Can be unstable] Try use nixpkgs of the systems

Test if this version follow only nixpkgs used during nixos build from the flatpak.
---
 flake.lock | 13 +++++--------
 flake.nix  |  2 +-
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/flake.lock b/flake.lock
index fa57752..448929a 100644
--- a/flake.lock
+++ b/flake.lock
@@ -20,17 +20,14 @@
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1739446958,
+        "lastModified": 0,
         "narHash": "sha256-+/bYK3DbPxMIvSL4zArkMX0LQvS7rzBKXnDXLfKyRVc=",
-        "owner": "NixOS",
-        "repo": "nixpkgs",
-        "rev": "2ff53fe64443980e139eaa286017f53f88336dd0",
-        "type": "github"
+        "path": "/nix/store/brjzz8wv5k09bq0yrvhc1j4hd8677k21-source",
+        "type": "path"
       },
       "original": {
-        "owner": "NixOS",
-        "repo": "nixpkgs",
-        "type": "github"
+        "id": "nixpkgs",
+        "type": "indirect"
       }
     },
     "root": {
diff --git a/flake.nix b/flake.nix
index 6d078d1..638ffda 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,7 +2,7 @@
   description = "Environnement de développement pour des modules noyaux Linux";
 
   inputs = {
-    nixpkgs.url = "github:NixOS/nixpkgs";
+    nixpkgs.url = "nixpkgs";
     flake-utils.url = "github:numtide/flake-utils";
   };