-
Notifications
You must be signed in to change notification settings - Fork 15
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
error: attribute 'slippi-netplay' missing (HomeManagerModule) #48
Comments
Try setting |
Hello, thanks for the response! I've updated the code to be like this now: # Flake.nix
{
description = "Personal Home Manager Configuration; Created by: TheLinuxPirate";
inputs = {
# Specify the source of Nixpkgs, get Flake-Utils, & Home-Manager:
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# Other Imports...
nix-gaming = {
url = "github:fufexan/nix-gaming";
inputs.nixpkgs.follows = "nixpkgs";
};
# Super Smash Brothers Melee Slippi via NixOS
ssbm-nix = {
url = "github:djanatyn/ssbm-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
flake-utils,
home-manager,
nix-gaming,
ssbm-nix,
...
}@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
overlays = [ ssbm-nix.overlay ]; # Specified Overlay
specialArgs = {
inherit nix-gaming;
inherit ssbm-nix;
}; in {
homeConfigurations.pinguino = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = specialArgs;
modules = [
ssbm-nix.homeManagerModule
({ pkgs, ... }: { # Rust
nixpkgs.overlays = [ rust-overlay.overlays.default ];
home.packages = [ pkgs.rust-bin.beta.latest.default ];
})
./home.nix
./pingu/gaming.nix
];
};
};
}
# pingu/gaming.nix
{ pkgs, nix-gaming, ssbm-nix, ... }:
{
imports = [ ssbm-nix.homeManagerModule ];
home.packages = [
nix-gaming.packages.${pkgs.system}.wine-ge
ssbm-nix.packages.${pkgs.system}.slippi-netplay
];
ssbm = {
slippi-launcher = {
enable = true;
isoPath = "~/System/ROMs/GC/SSBM.iso";
};
};
}
# The Error:
error:
… while evaluating a branch condition
at /nix/store/9kf2q1cd2nqy7azvgvv3bvm3n4mrvmrb-source/lib/lists.nix:57:9:
56| fold' = n:
57| if n == len
| ^
58| then nul
… while calling the 'length' builtin
at /nix/store/9kf2q1cd2nqy7azvgvv3bvm3n4mrvmrb-source/lib/lists.nix:55:13:
54| let
55| len = length list;
| ^
56| fold' = n:
(stack trace truncated; use '--show-trace' to show the full trace)
error: failed to extract archive (truncated gzip input) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Im not too new to NixOS but I sure suck working with it; as of right now Im having issues using this flake with my home-maanger configuration. I used to get errors about "ssbm-nix" not being defined but I think I fixed that;
Now I get slippi-netplay errors.
Here is my configuration:
The text was updated successfully, but these errors were encountered: