1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00
nix-pills/pills
Anton Latukha a95d1bbf9c 03: nix-store: --tree and -R are mutually exclusive
In current NixOS 17.09,
Current version of `nix-store` command does not accept command as possible one:
```shell
$ nix-store -qR --tree $(command -s man)
error: query type ‘--tree’ conflicts with earlier flag
Try ‘nix-store --help’ for more information.
```

So, `--tree` and `-R` are mutually exclusive options. 
```shell
$ nix-store -q --tree (command -s nix-store)                                                                                                                                                   (1)
/nix/store/b8xy8bdxh1r5yjda332qrxj1vvvsy4fq-nix-1.11.15
+---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49
|   +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...]
+---/nix/store/gpbdiwg2mg21kppj12y019is5r0f8cgn-sqlite-3.20.0
|   +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...]
|   +---/nix/store/gpbdiwg2mg21kppj12y019is5r0f8cgn-sqlite-3.20.0 [...]
+---/nix/store/vp8y0rh8rq7vikbbrpf28jfym79xq9z8-coreutils-8.28
|   +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...]
|   +---/nix/store/icxr8r6g584a3rhzixjs4zwwscssjr4c-attr-2.4.47
|   |   +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...]
|   |   +---/nix/store/icxr8r6g584a3rhzixjs4zwwscssjr4c-attr-2.4.47 [...]
|   +---/nix/store/47ba88rwcima20wkw3j6r9i5nf4yxjmy-acl-2.2.52
|   |   +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...]
|   |   +---/nix/store/icxr8r6g584a3rhzixjs4zwwscssjr4c-attr-2.4.47 [...]
|   |   +---/nix/store/47ba88rwcima20wkw3j6r9i5nf4yxjmy-acl-2.2.52 [...]
|   +---/nix/store/vp8y0rh8rq7vikbbrpf28jfym79xq9z8-coreutils-8.28 [...]
+---/nix/store/sbmxzfdnnl99jdhfsx4wasbcx6v7r0a2-perl-5.24.2
|   +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...]
|   +---/nix/store/vp8y0rh8rq7vikbbrpf28jfym79xq9z8-coreutils-8.28 [...]
|   +---/nix/store/sbmxzfdnnl99jdhfsx4wasbcx6v7r0a2-perl-5.24.2 [...]
+---/nix/store/i75adw8s20flph7wvhffma1is26llh2y-perl-DBI-1.636
|   +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...]
|   +---/nix/store/sbmxzfdnnl99jdhfsx4wasbcx6v7r0a2-perl-5.24.2 [...]
|   +---/nix/store/i75adw8s20flph7wvhffma1is26llh2y-perl-DBI-1.636 [...]
+---/nix/store/4qsl6n0a51vb3b6w9ncppk7il62qchgy-perl-DBD-SQLite-1.50
|   +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...]
|   +---/nix/store/gpbdiwg2mg21kppj12y019is5r0f8cgn-sqlite-3.20.0 [...]
|   +---/nix/store/i75adw8s20flph7wvhffma1is26llh2y-perl-DBI-1.636 [...]
|   +---/nix/store/4qsl6n0a51vb3b6w9ncppk7il62qchgy-perl-DBD-SQLite-1.50 [...]
+---/nix/store/9bmbvrlmcq58sw1z4q58iyfrsnbzy3db-libseccomp-2.3.2
|   +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...]
|   +---/nix/store/9bmbvrlmcq58sw1z4q58iyfrsnbzy3db-libseccomp-2.3.2 [...]
+---/nix/store/ybajdccj1h5xssna16h6vv3qqda6m7l4-openssl-1.0.2l
|   +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...]
|   +---/nix/store/ybajdccj1h5xssna16h6vv3qqda6m7l4-openssl-1.0.2l [...]
```

So `nix-store -q --tree (command -s nix-store)` is the right command.
2017-10-15 16:48:11 +03:00
..
01 Pill #1 2017-08-11 22:47:47 -04:00
02 Port pill #2 2017-08-12 17:57:17 -04:00
03 03: nix-store: --tree and -R are mutually exclusive 2017-10-15 16:48:11 +03:00
04 Port pill #4 2017-08-12 23:41:41 -04:00
05 Wrote up pill 5. 2017-08-13 13:16:21 +03:00
06 Removed failed emphasis in outpath.txt. 2017-08-13 19:40:44 +03:00
07 Transcribe pill 7 2017-08-19 10:15:45 -04:00
08 Port pill #8 2017-08-13 15:54:12 -04:00
09 Port pill #9 2017-08-13 16:38:22 -04:00
10 Port pill #10 2017-08-17 08:51:25 -04:00
11 Port pill #11 2017-08-18 12:02:32 -04:00
12 port pill #12 2017-08-17 23:54:26 -04:00
13 port pill #13 2017-08-17 21:03:42 -04:00
14 port pill #14 2017-08-17 12:48:38 -04:00
15 port pill #15 2017-08-17 12:03:48 -04:00
16 port pill #16 2017-08-17 09:11:10 -04:00
17 port pill #17 2017-08-16 14:25:59 -04:00
18 port pill #18 2017-08-16 13:18:52 -04:00
19 port pill #19 2017-08-16 13:11:20 -04:00
01-why-you-should-give-it-try.xml pills/01: minor fixes 2017-09-13 21:21:07 +08:00
02-install-on-your-running.xml Update installation instructions 2017-09-24 22:43:57 +01:00
03-enter-environment.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
04-basics-of-language.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
05-functions-and-imports.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
06-our-first-derivation.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
07-working-derivation.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
08-generic-builders.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
09-automatic-runtime.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
10-developing-with-nix-shell.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
11-garbage-collector.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
12-inputs-design-pattern.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
13-callpackage-design-pattern.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
14-override-design-pattern.xml Fix code block in Pill 14 2017-08-29 12:31:09 -07:00
15-nix-search-paths.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
16-nixpkgs-parameters.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
17-nixpkgs-overriding-packages.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
18-nix-store-paths.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
19-fundamentals-of-stdenv.xml Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00