the-argus / spicetify-nix

A nix flake for configuring spicetify. Includes packaging for many popular themes and extensions.
GNU General Public License v3.0
129 stars 20 forks source link

Could not resolve host: github.com #57

Open plunyahf opened 2 months ago

plunyahf commented 2 months ago

Describe the bug Upon fetching the repo, git states it cannot resolve the host.

My config

error: builder for '/nix/store/5j7jixmsgxn2c3hmg3ypjrlvv3rrgdz5-spicetify-cli-fea4245.drv' failed with exit code 1;
       last 6 log lines:
       > exporting https://github.com/spicetify/spicetify-cli (rev fea4245cd61c3c7df8de48d1b9d965cf97327694) into /nix/store/z0jy62dbx9sysgbwjkal2jv2nfz4qwff-spicetify-cli-fea4245
       > Initialized empty Git repository in /nix/store/z0jy62dbx9sysgbwjkal2jv2nfz4qwff-spicetify-cli-fea4245/.git/
       > fatal: unable to access 'https://github.com/spicetify/spicetify-cli/': Could not resolve host: github.com
       > fatal: unable to access 'https://github.com/spicetify/spicetify-cli/': Could not resolve host: github.com
       > fatal: unable to access 'https://github.com/spicetify/spicetify-cli/': Could not resolve host: github.com
       > Unable to checkout fea4245cd61c3c7df8de48d1b9d965cf97327694 from https://github.com/spicetify/spicetify-cli.
       For full logs, run 'nix log /nix/store/5j7jixmsgxn2c3hmg3ypjrlvv3rrgdz5-spicetify-cli-fea4245.drv'.
error: 1 dependencies of derivation '/nix/store/idbib1mcs8cwi5jq71gqygf103423zml-spicetify-catppuccin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1a412hysshv6vhg28x01w9nfdkml6bk2-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/l32nnlzgnlkf1ap051760gw2iln084q5-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jrlxwgsc1mzij16p0vvzhgfasskgrzmv-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/n4q8r0fm7368xw2rkls0v44l408a6f9y-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8hyl35iafz9lbdhjg007j4s1gbngv7ya-nixos-system-user-24.05.20240416.5672bc9.drv' failed to build

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

I found a similar issue here if it helps: https://discourse.nixos.org/t/flakes-git-cannot-resolve-host-when-running-during-build/18175/6

Thanks so much

justchokingaround commented 1 month ago

im encountering the same issue