flake: latest nixpkgs breaks too much stuff; lock a few things to an older version

This commit is contained in:
Ari Gato 2024-07-09 19:44:38 +02:00
parent 04f9d56270
commit 5ba7383cf3
3 changed files with 25 additions and 4 deletions

View file

@ -489,6 +489,22 @@
"type": "github"
}
},
"nixpkgsOlder": {
"locked": {
"lastModified": 1719918800,
"narHash": "sha256-9UoMK9d1PiJZJrInbMONscA7QN8C6kZIX9FUyHp6UqQ=",
"owner": "arachnist",
"repo": "nixpkgs",
"rev": "02e10f7e99522cef9909f78312ffbbd2d96e59c3",
"type": "github"
},
"original": {
"owner": "arachnist",
"repo": "nixpkgs",
"rev": "02e10f7e99522cef9909f78312ffbbd2d96e59c3",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1702272962,
@ -523,11 +539,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1720516678,
"narHash": "sha256-8cRCodATGFhup7ivASjOqekIgAUY8d2tX0XzvYPuCGU=",
"lastModified": 1720542264,
"narHash": "sha256-5DaslaU9rl6nJyRzZlVwTVvN8tMA8ec6AM1NDWDSJS8=",
"owner": "arachnist",
"repo": "nixpkgs",
"rev": "72ee32ccaebb8f666582930972940345d93f37ac",
"rev": "8eb7f26d11fd482370287f2960d09076029a19a0",
"type": "github"
},
"original": {
@ -608,6 +624,7 @@
"lix-module": "lix-module",
"nix-formatter-pack": "nix-formatter-pack",
"nixpkgs": "nixpkgs_4",
"nixpkgsOlder": "nixpkgsOlder",
"simple-nixos-mailserver": "simple-nixos-mailserver"
}
},

View file

@ -3,6 +3,7 @@
inputs = {
nixpkgs.url = "github:arachnist/nixpkgs/ar-patchset-unstable";
nixpkgsOlder.url = "github:arachnist/nixpkgs/02e10f7e99522cef9909f78312ffbbd2d96e59c3";
nix-formatter-pack.url = "github:Gerschtli/nix-formatter-pack";
deploy-rs.url = "github:serokell/deploy-rs";
impermanence.url = "github:nix-community/impermanence";

View file

@ -3,6 +3,7 @@
let
flakes = lib.filterAttrs (name: value: value ? outputs) inputs;
nixRegistry = builtins.mapAttrs (name: v: { flake = v; }) flakes;
pkgsOlder = import inputs.nixpkgsOlder { system = pkgs.system; config.allowUnfree = true; };
# rfkill block 0; rmmod btusb btintel; systemctl restart bluetooth.service; modprobe btintel; modprobe btusb; systemctl restart bluetooth.service; rfkill unblock 0
bt-unfuck = with pkgs;
writeScriptBin "bt-unfuck" ''
@ -172,6 +173,9 @@ in {
kate
kolourpaint
okular
]) ++ (with pkgsOlder; [
freecad
neofetch
]) ++ (with pkgs; [
chromium
ffmpeg-full
@ -200,7 +204,6 @@ in {
libreoffice-qt6
glasgow
# freecad
easyeffects