File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+
3
+ FIXME: TODO: This is a bad test because:
4
+
5
+ 1. We may not have access to the network in test environments (e.g. Nix :-))
6
+ 2. fetchTarball is not yet implemented in hnix and call the real nix
7
+ 3. We want all the tests that rely on nixpkgs to use the same fetched path
8
+ 4. We want a single place to update the nixpkgs revision we test.
9
+ 5. Currently hnix tests are not sandboxed as the ones in hnix-store-remote,
10
+ so all the .drv we build en up in the host store.
11
+
12
+ XXX: NIXPKGS_TESTS are broken for now. Fix that too when fixing this.
13
+
14
+ */
15
+ let
16
+ nixpkgs = builtins . fetchTarball {
17
+ url = "https://github.com/NixOS/nixpkgs/archive/1dc37370c489b610f8b91d7fdd40633163ffbafd.tar.gz" ;
18
+ } ;
19
+ in
20
+
21
+ with import nixpkgs { } ;
22
+ "${ pkgs . hello . drvPath } "
You can’t perform that action at this time.
0 commit comments