Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump: Use the nixpkgs/nixos-unstable again #628

Merged
merged 8 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 29 additions & 32 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

inputs = {
#TODO: clean this up before merging to main
nixpkgs.url = "github:tiiuae/nixpkgs/nixos-unstable-patched-2";
#nixpkgs.url = "flake:mylocalnixpkgs"; #"github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:tiiuae/nixpkgs/patched-unstable-proc-qemu"; #"flake:mylocalnixpkgs"; #
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

#
# Flake and repo structuring configurations
Expand All @@ -52,7 +52,6 @@
inputs = {
nixpkgs.follows = "nixpkgs";
nixpkgs-stable.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
flake-compat.follows = "flake-compat";
};
};
Expand Down Expand Up @@ -108,8 +107,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};

#https://github.com/nix-community/disko/commit/6c37763eb80c2b788bae0c0806255954451c1d00
#breaks image creation
disko = {
url = "github:nix-community/disko/master";
url = "github:nix-community/disko/601be8412d2ab72f752448766fe0fb2f00d5c40c";
inputs.nixpkgs.follows = "nixpkgs";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ in {

# TODO: Consider are these really needed, maybe add only in debug builds?
environment.systemPackages = with pkgs; [
qemu
qemu_kvm
dtc
];
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2022-2023 TII (SSRC) and the Ghaf contributors
# SPDX-License-Identifier: Apache-2.0
(_final: prev: {
qemu = prev.qemu.overrideAttrs (_final: prev: {
qemu_kvm = prev.qemu_kvm.overrideAttrs (_final: prev: {
patches =
prev.patches
++ [
Expand Down
13 changes: 7 additions & 6 deletions overlays/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,17 @@ It makes things clear and robust.

Some patches are carried as overlays and others are patches that are cherry-picked
from staging and main into a tiiuae maintained version of nixpkgs
[tiiuae/nixpkgs/nixos-unstable-patched](https://github.com/tiiuae/nixpkgs/tree/nixos-unstable-patched)
[tiiuae/nixpkgs/patched-unstable-proc-qemu](https://github.com/tiiuae/nixpkgs/tree/patched-unstable-proc-qemu)

The status of the integration in nixpkgs can be tracked using the [Pull Request Tracker](https://nixpk.gs/pr-tracker.html)

## From Overlays

[sysbench and libck xcompile](https://github.com/NixOS/nixpkgs/pull/309564)
[EDK2](https://github.com/NixOS/nixpkgs/pull/311317)

## tiiuae/nixpkgs/nixos-unstable-patched
## carried in tiiuae/nixpkgs/nixos-unstable-proc-qemu

[rutabaga_gfx - Qemu](https://github.com/NixOS/nixpkgs/pull/310783)
[Element Desktop and Python3](https://github.com/NixOS/nixpkgs/pull/308196)
[webp-pixbuf-loader](https://github.com/NixOS/nixpkgs/pull/315119)

[Qemu xcompile](https://github.com/NixOS/nixpkgs/pull/314270)

[XDG-utils procmail](https://github.com/NixOS/nixpkgs/pull/314270)
42 changes: 0 additions & 42 deletions overlays/cross-compilation/chromium/default.nix

This file was deleted.

8 changes: 1 addition & 7 deletions overlays/cross-compilation/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,5 @@
#
# This overlay is for specific fixes needed only to enable cross-compilation.
#
(final: prev: {
chromium = import ./chromium {inherit prev final;};
edk2 = import ./edk2 {inherit final prev;};
jbig2dec = import ./jbig2dec {inherit prev;};
pipewire = import ./pipewire {inherit prev;};

qemu = import ./qemu {inherit prev;};
(_final: _prev: {
})
39 changes: 0 additions & 39 deletions overlays/cross-compilation/edk2/default.nix

This file was deleted.

7 changes: 0 additions & 7 deletions overlays/cross-compilation/jbig2dec/default.nix

This file was deleted.

16 changes: 0 additions & 16 deletions overlays/cross-compilation/libck/default.nix

This file was deleted.

10 changes: 0 additions & 10 deletions overlays/cross-compilation/pipewire/default.nix

This file was deleted.

9 changes: 0 additions & 9 deletions overlays/cross-compilation/qemu/default.nix

This file was deleted.

Loading