nixos home manager install fail
matianhe3 opened this issue · comments
The MH commented
config:
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# add ags
ags.url = "github:Aylur/ags";
};
outputs = { home-manager, nixpkgs, ... }@inputs:
let
system = "x86_64-linux";
in
{
homeConfigurations."${username}" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { inherit system; };
# pass inputs as specialArgs
extraSpecialArgs = { inherit inputs; };
# import your home.nix
modules = [ ./home-manager/home.nix ];
};
};
}
{ inputs, pkgs, ... }:
{
# add the home manager module
imports = [ inputs.ags.homeManagerModules.default ];
programs.ags = {
enable = true;
# null or path, leave as null if you don't want hm to manage the config
configDir = null;
# additional packages to add to gjs's runtime
extraPackages = with pkgs; [
gtksourceview
webkitgtk
accountsservice
];
};
}
Executing subproject gvc
gvc| Project name: gvc
...skipping...
tree = parse(filename)
^^^^^^^^^^^^^^^
File "/nix/store/6b1fqdwb3g56j5pazv8zkx9qd0mv3wiz-python3-3.11.9/lib/python3.11/xml/etree/ElementTree.py", line 1219, in parse
tree.parse(source, parser)
File "/nix/store/6b1fqdwb3g56j5pazv8zkx9qd0mv3wiz-python3-3.11.9/lib/python3.11/xml/etree/ElementTree.py", line 575, in parse
parser = XMLParser()
^^^^^^^^^^^
File "/nix/store/6b1fqdwb3g56j5pazv8zkx9qd0mv3wiz-python3-3.11.9/lib/python3.11/xml/etree/ElementTree.py", line 1535, in __init__
raise ImportError(
ImportError: No module named expat; use SimpleXMLTreeBuilder instead
[15/22] Compiling C object subprojects/gvc/libgvc.so.p/gvc-mixer-ui-device.c.o
[16/22] Compiling C object subprojects/gvc/libgvc.so.p/gvc-mixer-stream.c.o
../subprojects/gvc/gvc-mixer-stream.c: In function 'on_channel_map_volume_changed':
../subprojects/gvc/gvc-mixer-stream.c:370:48: warning: unused parameter 'channel_map' [-Wunused-parameter]
370 | on_channel_map_volume_changed (GvcChannelMap *channel_map,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
../subprojects/gvc/gvc-mixer-stream.c: In function 'gvc_mixer_stream_real_change_port':
../subprojects/gvc/gvc-mixer-stream.c:817:52: warning: unused parameter 'stream' [-Wunused-parameter]
817 | gvc_mixer_stream_real_change_port (GvcMixerStream *stream,
| ~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-stream.c:818:52: warning: unused parameter 'port' [-Wunused-parameter]
818 | const char *port)
| ~~~~~~~~~~~~~~~~^~~~
../subprojects/gvc/gvc-mixer-stream.c: In function 'gvc_mixer_stream_real_push_volume':
../subprojects/gvc/gvc-mixer-stream.c:824:52: warning: unused parameter 'stream' [-Wunused-parameter]
824 | gvc_mixer_stream_real_push_volume (GvcMixerStream *stream, gpointer *op)
| ~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-stream.c:824:70: warning: unused parameter 'op' [-Wunused-parameter]
824 | gvc_mixer_stream_real_push_volume (GvcMixerStream *stream, gpointer *op)
| ~~~~~~~~~~^~
../subprojects/gvc/gvc-mixer-stream.c: In function 'gvc_mixer_stream_real_change_is_muted':
../subprojects/gvc/gvc-mixer-stream.c:830:56: warning: unused parameter 'stream' [-Wunused-parameter]
830 | gvc_mixer_stream_real_change_is_muted (GvcMixerStream *stream,
| ~~~~~~~~~~~~~~~~^~~~~~
../subprojects/gvc/gvc-mixer-stream.c:831:56: warning: unused parameter 'is_muted' [-Wunused-parameter]
831 | gboolean is_muted)
| ~~~~~~~~~~~~~~~~^~~~~~~~
[17/22] Generating src/typescript-compile with a custom command
ninja: build stopped: subcommand failed.