Skip to content

Commit

Permalink
Added surfer waveviewer package
Browse files Browse the repository at this point in the history
Co-authored-by: Gary Guo <[email protected]>
  • Loading branch information
HU90m and nbdd0121 committed Apr 5, 2024
1 parent ad2aa6c commit 129495d
Show file tree
Hide file tree
Showing 6 changed files with 6,134 additions and 1 deletion.
1 change: 1 addition & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ Files: flake.lock
pkgs/verilator/fix.patch
README.md
**/README.md
pkgs/surfer/Cargo.lock
Copyright: lowRISC contributors
License: MIT
26 changes: 25 additions & 1 deletion flake.lock

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

10 changes: 10 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
flake-utils.url = "github:numtide/flake-utils";

rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};

poetry2nix = {
url = "github:nix-community/poetry2nix";
inputs.nixpkgs.follows = "nixpkgs";
Expand All @@ -24,6 +30,7 @@
self,
nixpkgs,
flake-utils,
rust-overlay,
...
} @ inputs: let
no_system_outputs = {
Expand All @@ -36,6 +43,9 @@
all_system_outputs = flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
overlays = [
rust-overlay.overlays.default
];
};
lowrisc_pkgs = import ./pkgs {inherit pkgs inputs;};
in {
Expand Down
1 change: 1 addition & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
cheriot-sim = pkgs.callPackage ./cheriot-sim.nix {};

container-hotplug = pkgs.callPackage ./container-hotplug {};
surfer = pkgs.callPackage ./surfer/default.nix {};
}
// pkgs.lib.optionalAttrs (pkgs.system == "x86_64-linux") {
lowrisc-toolchain-gcc-rv32imcb = pkgs.callPackage ./lowrisc-toolchain-gcc-rv32imcb.nix {};
Expand Down
Loading

0 comments on commit 129495d

Please sign in to comment.