-
Notifications
You must be signed in to change notification settings - Fork 984
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
Nix 2.4 issues with git tags #12832
Comments
I checked
|
Actually, there might be a way to get around this by prefixing tags with |
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
It builds, but will require fixes in |
The need to reference Git tags with `refs/tags/` prefix is caused by changes in how Nix `2.4` and newer versions handle Git tags. They expect tags without full name to be branches, which fails with: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Issue: status-im/status-mobile#12832 PR: status-im/status-mobile#12980 Signed-off-by: Jakub Sokołowski <jakub@status.im>
The need to reference Git tags with `refs/tags/` prefix is caused by changes in how Nix `2.4` and newer versions handle Git tags. They expect tags without full name to be branches, which fails with: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Issue: status-im/status-mobile#12832 PR: status-im/status-mobile#12980 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Extends `urlRegex` to accept tags specified with full `refs/tags/*` format. Note the use of `?:` part to make the group not present in the `matche` list. The need to reference Git tags with `refs/tags/` prefix is caused by changes in how Nix `2.4` and newer versions handle Git tags. They expect tags without full name to be branches, which fails with: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Issue: status-im/status-mobile#12832 PR: status-im/status-mobile#12980 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Extends `urlRegex` to accept tags specified with full `refs/tags/*` format. Note the use of `?:` part to make the group not present in the `matche` list. The need to reference Git tags with `refs/tags/` prefix is caused by changes in how Nix `2.4` and newer versions handle Git tags. They expect tags without full name to be branches, which fails with: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Issue: status-im/status-mobile#12832 PR: status-im/status-mobile#12980 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Issue: NixOS/nix#5291 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Issues: * NixOS/nix#5291 * NixOS/nix#6007 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Issues: * NixOS/nix#5291 * NixOS/nix#6007 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Issues: * NixOS/nix#5291 * NixOS/nix#6007 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Issues: * NixOS/nix#5291 * NixOS/nix#6007 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Signed-off-by: Jakub Sokołowski <jakub@status.im>
I am also facing exactly same issue with version 2.6.0 , Can you please have get any solution for this , Is this solution merge ? |
@ZainAliSyed24 you need to uninstall |
To install, follow this guide if you are on catalina https://github.com/status-im/status-react/blob/develop/nix/KNOWN_ISSUES.md#macos-1015-catalina |
@cammellos Thanks let me uninstall and can you please send me message at discord if possible Syed Zain Ali#1534 |
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Signed-off-by: Jakub Sokołowski <jakub@status.im>
macOS Monterey,But this .......
|
Nix Uninstalled and reinstalled,Version 2.6.1. but still not,why ??? |
Are you asking why the git tag issue hasn't been fixed in any of the Nix versions after 2.4? Not really a question for us. More for the Nix developers. |
Then I “make run clojure”. It didn't compile successfully. Isn't it your problem? Is it Nix's problem?? How can I compile IOS status without this? |
@Guolanlan you need to completely uninstall nix and run |
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. I also rewrote `nix/scripts/setup.sh` and `/nix/scripts/purge.sh` to support different types of installations. Both single-user and multi-user, as some operating systems have issues with multi-user installations. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Related changes: * status-im/infra-ci@84947b9f * status-im/infra-ci@bb98f5f3 * status-im/infra-ci@f75d524d * status-im/infra-ci@d1fc92cd * status-im/infra-ci@87c4091e * status-im/infra-ci@8d6b6b3f * status-im/infra-ci@c4f13285 * status-im/infra-ci@38ac698d Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. I also rewrote `nix/scripts/setup.sh` and `/nix/scripts/purge.sh` to support different types of installations. Both single-user and multi-user, as some operating systems have issues with multi-user installations. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Related changes: * status-im/infra-ci@84947b9f * status-im/infra-ci@bb98f5f3 * status-im/infra-ci@f75d524d * status-im/infra-ci@d1fc92cd * status-im/infra-ci@87c4091e * status-im/infra-ci@8d6b6b3f * status-im/infra-ci@c4f13285 * status-im/infra-ci@38ac698d Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. I also rewrote `nix/scripts/setup.sh` and `/nix/scripts/purge.sh` to support different types of installations. Both single-user and multi-user, as some operating systems have issues with multi-user installations. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Related changes: * status-im/infra-ci@84947b9f * status-im/infra-ci@bb98f5f3 * status-im/infra-ci@f75d524d * status-im/infra-ci@d1fc92cd * status-im/infra-ci@87c4091e * status-im/infra-ci@8d6b6b3f * status-im/infra-ci@c4f13285 * status-im/infra-ci@38ac698d Signed-off-by: Jakub Sokołowski <jakub@status.im>
Due to changes in how Nix handles Git refs we need to specify `refs/tags/` prefix in `package.json` to avoid the following error: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` I also had to rewrite some logic in `nix/scripts/source.sh` in order to take account of single-user and multi-user installations. We default to multi-user for Darwin, but not for any other OS due to discovered issues with `nix-daemon` socket on Arch and open file limits. I also rewrote `nix/scripts/setup.sh` and `/nix/scripts/purge.sh` to support different types of installations. Both single-user and multi-user, as some operating systems have issues with multi-user installations. Resolves: #12832 Depends on: status-im/status-jenkins-lib#37 Related changes: * status-im/infra-ci@84947b9f * status-im/infra-ci@bb98f5f3 * status-im/infra-ci@f75d524d * status-im/infra-ci@d1fc92cd * status-im/infra-ci@87c4091e * status-im/infra-ci@8d6b6b3f * status-im/infra-ci@c4f13285 * status-im/infra-ci@38ac698d Signed-off-by: Jakub Sokołowski <jakub@status.im>
It appears that newest
2.4
release of Nix has some weird issues with Git tags:The text was updated successfully, but these errors were encountered: