Last active
January 3, 2019 06:33
-
-
Save kalbasit/deec7b74b64f70d24ca1967883c8e7b6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nixos-rebuild -I nixpkgs=./external/nixpkgs-stable.nix build | |
building Nix... | |
building the system configuration... | |
error: anonymous function at /yl/code/personal/stories/shabka_pin-nixpkgs/src/github.com/kalbasit/shabka/external/nixpkgs-stable.nix:1:1 called with unexpected argument 'system', at /nix/store/gbmr238hsi0davrk8k6syqqj8824s167-home-manager-235a6617c46b4267d4f67cde9a93dbef0f12bd3f/modules/misc/nixpkgs.nix:52:11 | |
(use '--show-trace' to show detailed location information) | |
$ nix-shell -I nixpkgs=./external/nixpkgs-stable.nix -p jq --run 'jq --version' | |
jq-1.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{}: | |
let | |
pinnedVersion = builtins.fromJSON (builtins.readFile ./nixpkgs-stable-version.json); | |
pinned = import (builtins.fetchGit { | |
inherit (pinnedVersion) url rev ref; | |
}) {}; | |
in | |
pinned |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment