-
-
Save matthew-piziak/7c3925e232d05b245856ed9c7a6c3e8a to your computer and use it in GitHub Desktop.
This file contains 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
nix-repl> pkgs = import <nixpkgs> | |
pkgs = import <nixpkgs> | |
nix-repl> nixfmt = import (pkgs.fetchFromGitHub { | |
owner = "serokell"; | |
repo = "nixfmt"; | |
rev = "af09262aa7d08d2b0905b11d2e8958889aadcf46"; # v0.2.0 | |
sha256 = "0njgjv6syv3sk97v8kq0cb4mhgrb7nag2shsj7rphs6h5b7k9nbx"; | |
}) | |
nixfmt = import (pkgs.fetchFromGitHub { | |
owner = "serokell"; | |
repo = "nixfmt"; | |
rev = "af09262aa7d08d2b0905b11d2e8958889aadcf46"; # v0.2.0 | |
sha256 = "0njgjv6syv3sk97v8kq0cb4mhgrb7nag2shsj7rphs6h5b7k9nbx"; | |
}) | |
nix-repl> nixfmt | |
nixfmt | |
error: value is a function while a set was expected, at (string):1:10 | |
nix-repl> nixfmt {} | |
nixfmt {} | |
error: value is a function while a set was expected, at (string):1:10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment