Skip to content
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

julia-mono: 0.022 → 0.027 #104477

Closed
wants to merge 1 commit into from
Closed

Conversation

toastal
Copy link
Contributor

@toastal toastal commented Nov 21, 2020

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@toastal toastal changed the title julia-mono 0.022 → 0.027 julia-mono: 0.022 → 0.027 Nov 21, 2020
@SuperSandro2000
Copy link
Member

Can you rebase this PR on master to fix the eval error?

@SuperSandro2000
Copy link
Member

hash mismatch in fixed-output derivation '/nix/store/d31klqks3z0dnc4ksnyc7aslkgdz25d9-JuliaMono-0.027':
  wanted: sha256:1ds7blvmf09rvkf7chfirjbnmcfq63av4dzv62kyynwd3km9cszb
  got:    sha256:1aqkgaml36nfb15y3i29cpvqpidgz80xnibpyz2382y7qsz11wvz
cannot build derivation '/nix/store/2pfj1l56v42lz526c6b8bdjq8x1jq9jd-env.drv': 1 dependencies couldn't be built

@toastal
Copy link
Contributor Author

toastal commented Nov 26, 2020

$ nix-prefetch-url "https://github.com/cormullion/juliamono/releases/download/v0.027/JuliaMono.zip"
[6.0 MiB DL]
path is '/nix/store/31k5x92hcgd9sfm85nfr0prq6hqyfi6s-JuliaMono.zip'
1ds7blvmf09rvkf7chfirjbnmcfq63av4dzv62kyynwd3km9cszb

Does this not work?

@tomberek
Copy link
Contributor

@toastal there are postfetch actions. Also you'd probably need --unpack. In this case:

sha256-RtB0CRBbV5vn3zOBh4yX2ZU2Y50w6iwQEjLVK3CKYNM=

or

sha256:1aqkgaml36nfb15y3i29cpvqpidgz80xnibpyz2382y7qsz11wvz

would work.

@toastal toastal mentioned this pull request Feb 28, 2021
10 tasks
@toastal
Copy link
Contributor Author

toastal commented Feb 28, 2021

#114627 Is the latest. Honestly I'm still really unsure why I can't run nix-prefetch-url to test this. The only thing I understand how to do is put in a fake SHA and let the build system tell me what it was supposed to be.

@toastal toastal closed this Feb 28, 2021
@SuperSandro2000
Copy link
Member

#114627 Is the latest. Honestly I'm still really unsure why I can't run nix-prefetch-url to test this. The only thing I understand how to do is put in a fake SHA and let the build system tell me what it was supposed to be.

You can use nix-update to update it properly. You can't use nix-prefetch-url because fetchzip unpacks the archive IIRC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants