Code Monkey home page Code Monkey logo

snow's People

Contributors

justryanw avatar supersandro2000 avatar vlinkz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

snow's Issues

Error during installation: nix-data-0.0.2, no corresponding git dependency

Fresh Ubuntu WSL with nix installled with nix-installer

Log:

❯ nix profile install github:snowfallorg/snow --show-trace
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'snow-0.0.2'
         whose name attribute is located at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/pkgs/stdenv/generic/make-derivation.nix:286:7

       … while evaluating attribute 'cargoDeps' of derivation 'snow-0.0.2'

         at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/pkgs/build-support/rust/build-rust-package/default.nix:106:10:

          105| } // {
          106|   inherit buildAndTestSubdir cargoDeps;
             |          ^
          107|while evaluating derivation 'cargo-vendor-dir'
         whose name attribute is located at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/pkgs/stdenv/generic/make-derivation.nix:286:7

       … while evaluating attribute 'buildCommand' of derivation 'cargo-vendor-dir'

         at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/pkgs/build-support/trivial-builders.nix:87:14:

           86|       enableParallelBuilding = true;
           87|       inherit buildCommand name;
             |              ^
           88|       passAsFile = [ "buildCommand" ]

       … from call site

         at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/pkgs/build-support/rust/import-cargo-lock.nix:71:22:

           70|   # individually.
           71|   gitShaOutputHash = lib.mapAttrs' (nameVer: hash:
             |                      ^
           72|     let

       … while calling 'mapAttrs''

         at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/lib/attrsets.nix:458:5:

          457|     # Attribute set to map over.
          458|     set:
             |     ^
          459|     listToAttrs (map (attr: f attr set.${attr}) (attrNames set));

       error: A hash was specified for nix-data-0.0.2, but there is no corresponding git dependency.

I think that exception appears because of migrating to snowfallorg.

Allow creating branches and pull requests

I have some fixes on a local branch and would like to open a pull request but it doesn't look like I have permissions to create a branch on the remote. Could you guys consider opening up the repository so others can contribute to the project. Thanks.

error: Could not find latest nixpkgs version

I just wanted to try using snow, but when I try to install a package, I get an error:

$ nix run github:snowflakelinux/snow -- install lolcat
error: Could not find latest nixpkgs version

NixOS version: 22.11
Nix version: 2.11.1

Add snow version

The tool should have a command to show it's version.

I suggest version to be consistent with the other commands, but also support --version for compatibility.

It makes also sense to show the Nix version in a second line.

Currently:

[davidak@gaming:~]$ nix run github:snowflakelinux/snow --version
nix (Nix) 2.8.1

[davidak@gaming:~]$ nix run github:snowflakelinux/snow version
error: The subcommand 'version' wasn't recognized

Usage: snow <COMMAND>

For more information try '--help'

add rebuild subcommand

helps when I manually edit the configuration.nix, so I don't have to use snow update -s

Add snow run?

We could add this command to have an advantage over apt etc.
Would that violate the philosophy of this tool?

[Enhancement] Ability for snow to work with home-manager

There should be a feature where snow would use home manager to install packages. snow should be able work with home-manager for the root profile as well. maybe a -H flag for home-manager. for the root profile /nix/var/nix/profiles/default you can use the flag -dH or -Hd.

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.