From b49471ba505266aea9afd381030f54673d2b73df Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 5 Jul 2024 16:30:29 +0200 Subject: [PATCH] Update nixpkgs to nixos-unstable --- flake.nix | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/flake.nix b/flake.nix index e6590f5..69f22a1 100644 --- a/flake.nix +++ b/flake.nix @@ -1,28 +1,13 @@ { - inputs.nixpkgs.url = "github:NixOS/nixpkgs/e4ad989506ec7d71f7302cc3067abd82730a4beb"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.bscpkgs.url = "git+https://git.sr.ht/~rodarima/bscpkgs?ref=riscv-benchmarks"; # When changing bscpkgs, take directly from disk to avoid having to push: #inputs.bscpkgs.url = "/home/Computational/rarias/bscpkgs"; - outputs = {self,...}@inputs: + outputs = {self, nixpkgs, ...}@inputs: let system = "x86_64-linux"; - remoteNixpkgsPatches = [ - { - meta.description = "sha256-ZCDQ7SpGhH8JvAwWzdcyrc68RFEWHxxAj0M2+AvEzIg="; - url = "https://github.com/NixOS/nixpkgs/pull/283460.diff"; - sha256 = "sha256-g6o4rqkOOYZ6OJTzv9kTPq9Zsu5Z1QXZmPLC3Q7Sq6w="; - } - ]; - originPkgs = inputs.nixpkgs.legacyPackages."x86_64-linux"; - nixpkgs = originPkgs.applyPatches { - name = "nixpkgs-patched"; - src = inputs.nixpkgs; - patches = map originPkgs.fetchpatch remoteNixpkgsPatches; - }; nixosSystem = import (nixpkgs + "/nixos/lib/eval-config.nix"); - - in { #overlay = import ./overlay.nix; nixosConfigurations = {