Coder Social home page Coder Social logo

Comments (8)

LovingMelody avatar LovingMelody commented on September 27, 2024 5

Looks like this is still broken on NixOS-unstable-small even with the changes (commit 9f95b9c7b21a35cddfe66e92b82c7d5d6ea965de)

from nixvim.

mirkolenz avatar mirkolenz commented on September 27, 2024 5

The PR has been merged, we now have to wait for the channels to progress: https://nixpk.gs/pr-tracker.html?pr=289539

from nixvim.

GaetanLepage avatar GaetanLepage commented on September 27, 2024 3

Thanks for reporting.
Fixed by NixOS/nixpkgs#289539.

In the meantime, do not update nixpkgs.
The hash a4d4fe8c5002202493e87ec8dbc91335ff55552c is the last working nixos-unstable revision.

from nixvim.

xqtc161 avatar xqtc161 commented on September 27, 2024 1

Any update on this?

from nixvim.

futu2 avatar futu2 commented on September 27, 2024

same issue.
nix build logs here:

error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)while evaluating derivation 'nixvim'
         whose name attribute is located at /nix/store/bg5fbkfa5x53clcjf4p5p92k1l3w8x38-source/pkgs/stdenv/generic/make-derivation.nix:353:7while evaluating attribute 'paths' of derivation 'nixvim'

         at /nix/store/jgjfwypmm1fm5jq002s5fsmmijic8rak-source/wrappers/standalone.nix:44:5:

           43|     name = "nixvim";
           44|     paths =
             |     ^
           45|       [while evaluating derivation 'nixvim-configuration-reference-manpage'
         whose name attribute is located at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/stdenv/generic/make-derivation.nix:353:7while evaluating attribute 'buildCommand' of derivation 'nixvim-configuration-reference-manpage'

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/build-support/trivial-builders/default.nix:98:16:

           97|         enableParallelBuilding = true;
           98|         inherit buildCommand name;
             |                ^
           99|         passAsFile = [ "buildCommand" ]while evaluating derivation 'options.json'
         whose name attribute is located at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/stdenv/generic/make-derivation.nix:353:7while evaluating attribute 'options' of derivation 'options.json'

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/nixos/lib/make-options-doc/default.nix:125:7:

          124|       ];
          125|       options = builtins.toFile "options.json"
             |       ^
          126|         (builtins.unsafeDiscardStringContext (builtins.toJSON optionsNix));while evaluating the default value of option `colorschemes.base16.package`

       … from call site

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/lib/options.nix:346:15:

          345|             builtins.addErrorContext "while evaluating the ${if opt?defaultText then "defaultText" else "default value"} of option `${name}`" (
          346|               renderOptionValue (opt.defaultText or opt.default)
             |               ^
          347|             );while calling 'renderOptionValue'

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/lib/options.nix:383:23:

          382|   */
          383|   renderOptionValue = v:
             |                       ^
          384|     if v ? _type && v ? text then vwhile calling anonymous lambda

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/applications/editors/vim/plugins/aliases.nix:28:22:

           27|   mapAliases = aliases:
           28|     lib.mapAttrs (n: alias: removeDistribute
             |                      ^
           29|                              (removeRecurseForDerivationsfrom call site

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/applications/editors/vim/plugins/aliases.nix:28:29:

           27|   mapAliases = aliases:
           28|     lib.mapAttrs (n: alias: removeDistribute
             |                             ^
           29|                              (removeRecurseForDerivationswhile calling 'removeDistribute'

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/applications/editors/vim/plugins/aliases.nix:16:22:

           15|   # sets from building on Hydra.
           16|   removeDistribute = alias: with lib;
             |                      ^
           17|     if isDerivation alias thenfrom call site

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/applications/editors/vim/plugins/aliases.nix:17:8:

           16|   removeDistribute = alias: with lib;
           17|     if isDerivation alias then
             |        ^
           18|       dontDistribute aliaswhile calling 'isDerivation'

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/lib/attrsets.nix:780:5:

          779|     # Value to check.
          780|     value: value.type or null == "derivation";
             |     ^
          781|

       … from call site

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/applications/editors/vim/plugins/aliases.nix:29:31:

           28|     lib.mapAttrs (n: alias: removeDistribute
           29|                              (removeRecurseForDerivations
             |                               ^
           30|                               (checkInPkgs n alias)))while calling 'removeRecurseForDerivations'

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/applications/editors/vim/plugins/aliases.nix:9:33:

            8|   # set to appear while listing all the packages available.
            9|   removeRecurseForDerivations = alias: with lib;
             |                                 ^
           10|     if alias.recurseForDerivations or false then

       … from call site

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/applications/editors/vim/plugins/aliases.nix:30:32:

           29|                              (removeRecurseForDerivations
           30|                               (checkInPkgs n alias)))
             |                                ^
           31|                      aliases;while calling 'checkInPkgs'

         at /nix/store/ia17ralvrrby1gasamzh04vivv05qrp3-nixpkgs-nixvim-doc/pkgs/applications/editors/vim/plugins/aliases.nix:23:20:

           22|   # all-packages.nix.
           23|   checkInPkgs = n: alias: if builtins.hasAttr n prev
             |                    ^
           24|                           then throw "Alias ${n} is still in vim-plugins"

from nixvim.

GaetanLepage avatar GaetanLepage commented on September 27, 2024

We have temporarily switched to nixpkgs-unstable (from nixos-unstable) and renamed the base16 plugin.
So you now have the choice to switch your flake to nixpkgs-unstable on your flake.

We will go back to nixos-unstable once it will include the upstream fix.

from nixvim.

GaetanLepage avatar GaetanLepage commented on September 27, 2024

Everything should now be working. -> You can update your flake / use nixos-unstable again.
We will soon switch back to the nixos-unstable channel for the nixvim flake.

Sorry for this bug that was introduced upstream... by me :/

from nixvim.

mirkolenz avatar mirkolenz commented on September 27, 2024

Can confirm that it works for me. Thanks for the fast response to this bug!

from nixvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.