Skip to content

Add: holoport.nix which uses fetchgitlocal#19

Open
gavinrogers wants to merge 1 commit intoLnL7:masterfrom
Holo-Host:WIP_localrepo
Open

Add: holoport.nix which uses fetchgitlocal#19
gavinrogers wants to merge 1 commit intoLnL7:masterfrom
Holo-Host:WIP_localrepo

Conversation

@gavinrogers
Copy link
Copy Markdown

I'm trying to use nix-docker to test nixos builds on OSX. I'd like to be able to work away in my nixpkgs repo, and then build a new docker image based upon those changes, and test them out right away!

However this is failing with the following backtrace:

Davids-MacBook-Pro:nix-docker david$ nix-shell -A env --argstr src  ~/repos/nix-docker/srcs/holoport.nix --show-trace
error: while evaluating the attribute ‘shellHooks’ of the derivation ‘build-environment’ at /nix/store/ab6mdmai1qfiwwidkkd2cxsj8y7qaa7n-nixpkgs-18.03pre126020.931a0b8be80/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating ‘callPackageWith’ at /nix/store/ab6mdmai1qfiwwidkkd2cxsj8y7qaa7n-nixpkgs-18.03pre126020.931a0b8be80/nixpkgs/lib/customisation.nix:113:35, called from /Users/david/repos/nix-docker/default.nix:12:14:
while evaluating ‘makeOverridable’ at /nix/store/ab6mdmai1qfiwwidkkd2cxsj8y7qaa7n-nixpkgs-18.03pre126020.931a0b8be80/nixpkgs/lib/customisation.nix:72:24, called from /nix/store/ab6mdmai1qfiwwidkkd2cxsj8y7qaa7n-nixpkgs-18.03pre126020.931a0b8be80/nixpkgs/lib/customisation.nix:117:8:
anonymous function at /Users/david/repos/nix-docker/srcs/holoport.nix:1:1 called without required argument ‘fetchgitlocal’, at /nix/store/ab6mdmai1qfiwwidkkd2cxsj8y7qaa7n-nixpkgs-18.03pre126020.931a0b8be80/nixpkgs/lib/customisation.nix:74:12

Steps to reproduce

  1. checkout this WIP
  2. run nix-shell -A env --argstr src ~/repos/nix-docker/srcs/holoport.nix --show-trace
  3. See error

If I'm going about using your (@LnL7) repo incorrectly, or if there's an easier
way to go about this, any input would be welcome.

I'm trying to use nix-docker to test nixos builds on OSX. I'd like to be able to
work away in my nixpkgs repo, and then build a new docker image based upon those
changes, and test them out right away!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant