snowfallorg / nix-software-center

A simple gtk4/libadwaita software center to easily install and manage nix packages
GNU General Public License v3.0
529 stars 16 forks source link

Build failure #49

Closed iopq closed 11 months ago

iopq commented 12 months ago
trace: warning: rustPlatform.rust.cargo is deprecated. Use cargo instead.
trace: warning: rustPlatform.rust.rustc is deprecated. Use rustc instead.
error: builder for '/nix/store/8xbinsanp56gpwjmdpybb0zc1yfpvp3l-nix-software-center-0.1.0-vendor.tar.gz.drv' failed with exit code 1;
       last 10 log lines:
       > configuring
       > no configure script, doing nothing
       > building
       > source = "git+https://github.com/snowflakelinux/nix-data#315d3efee6860cdc48e514ac1fa288196312a4f4"
       >
       > ERROR: The Cargo.lock contains git dependencies
       >
       > This is currently not supported in the fixed-output derivation fetcher.
       > Use cargoLock.lockFile / importCargoLock instead.
       >
       For full logs, run 'nix log /nix/store/8xbinsanp56gpwjmdpybb0zc1yfpvp3l-nix-software-center-0.1.0-vendor.tar.gz.drv'.
error: 1 dependencies of derivation '/nix/store/jqw10y7pxwcbx2b47ynxjdzryv4417qs-nix-software-center-0.1.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ksq537d9lx7iv3757gpclbwahlfwyv76-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/iazn5hxhq51vim9yrqcwyv8fgj1lxp87-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/z5xzgq37kqxpcfdzg1xahnfl79afrf5q-nixos-system-laptop-23.11.20230721.e43e244.drv' failed to build
iopq commented 11 months ago

This is because my configuration for flakes is wrong, I'm supposed to follow the flakes example instead