Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flakes: weird behavior with github actions nix-build-uncached #34

Open
bbigras opened this issue Nov 28, 2020 · 7 comments
Open

flakes: weird behavior with github actions nix-build-uncached #34

bbigras opened this issue Nov 28, 2020 · 7 comments

Comments

@bbigras
Copy link

bbigras commented Nov 28, 2020

With the github action, nix develop -c nix-build-uncached ci.nix doesn't seem to build much. I cleared my cachix cache.

I added a step to show the output of nix-build ci.nix --dry-run. It's supposed to show the same thing that would be built, right?

https://github.com/bbigras/nix-config/runs/1466357334?check_suite_focus=true

Any ideas? Maybe everything I use is in caches.

I wonder if my ci.nix file is correct. I had to change the hydra thing to:

let
  outputs = builtins.getFlake (toString ./.);
  pkgs = outputs.inputs.nixpkgs;
  drvs = pkgs.lib.collect pkgs.lib.isDerivation outputs.deploy;
in
drvs
@bbigras
Copy link
Author

bbigras commented Dec 1, 2020

@Mic92 Anything I can do to help?

@Mic92
Copy link
Owner

Mic92 commented Dec 2, 2020

do you see the same behavior locally?

@bbigras
Copy link
Author

bbigras commented Dec 3, 2020

It's weird, I just tried on my desktop.

nix-build ci.nix --dry-run

❯ nix-build ci.nix --dry-run
these 31 derivations will be built:
  /nix/store/4y1aqv43g9yk8f91r88p0bph91wz1grl-emacs-hm-early-init.drv
  /nix/store/95bk5p6435w9ilmh2kbpd1135xqvxvis-emacs-hm-init.drv
  /nix/store/04i75nylkqrl283nc9q1a23nls1afgn9-emacs-packages-deps.drv
  /nix/store/5ylzdissz9vflkahgsxrc4ry5dp4rkbg-emacs-git-with-packages-20201202.0.drv
  /nix/store/2d2x51inda8acadxqcdzf29f9hxqyanj-emacs-git-with-packages-20201202.0-fish-completions.drv
  /nix/store/9m7qpmicrd3476565gai0n8sbgabw5y3-man-pages-fish-completions.drv
  /nix/store/dywyyj58zllss3q6zxj77cvyh04hhs59-bbigras-fish-completions.drv
  /nix/store/5p7z7qzswrxvnpc0la16lx42zyyi7qnv-home-manager-files.drv
  /nix/store/asmn0sfr3i925smipb6fcri87qjkmrca-home-manager-path.drv
  /nix/store/mjg6nm5a3z0s08k2b1ay2c701jmm7s97-activation-script.drv
  /nix/store/cs9gbmwmisycs748w5ym3lkanz65wca7-home-manager-generation.drv
  /nix/store/fx0j64cymsf428pmdwi84pqj2rdxdylq-activate-bbigras.drv
  /nix/store/qjvlhzlnnpvp1f9vd6vn4w6nk3nkhgz7-unit-home-manager-bbigras.service.drv
  /nix/store/wp02pzja6cx40ilm15ss37iv126pl8ig-system-units.drv
  /nix/store/dzhf9yipwrkf3b9r2fjf9czs5x0qfhrh-etc.drv
  /nix/store/3ks7nxk3888bh1wf3w2b8qhzzk795yr5-nixos-system-desktop-21.03.20201130.24eb3f8.drv
  /nix/store/sp6yahvp2sp9hdflf1y437f3ln45z4gj-deploy-rs-0.1.0.drv
  /nix/store/l5ydjlg26ydjdik11gl5jv6sdykrv710-nixos-system-desktop-21.03.20201130.24eb3f8-activate-rs.drv
  /nix/store/0i1s4bwynmbzfkaa83rwx0vaddsbkl4d-activatable-nixos-system-desktop-21.03.20201130.24eb3f8.drv
  /nix/store/9vcpvrz528jx8nfgisdw1xxxq7iv1hc3-home-manager-path.drv
  /nix/store/279dfjf3051h7gpi0g2ijk39ww56mj6q-activation-script.drv
  /nix/store/bfd5lk9s6ds4yx016w36lingy2xmm7xd-bbigras-fish-completions.drv
  /nix/store/ymsdnrhd9cc972nixc8l69hv802m4ak9-home-manager-files.drv
  /nix/store/65g8qdlldfaqr8z22pdk7zy3grji2l20-home-manager-generation.drv
  /nix/store/g0f7qd5i2fnz75ljm4vzbw3riwzbfmk7-activate-bbigras.drv
  /nix/store/976plc25bqgcmfb7b39yrbjqxxcbdpkj-unit-home-manager-bbigras.service.drv
  /nix/store/d2228943cmlif6mxf4512z67nq0q1y8y-system-units.drv
  /nix/store/1nc409526q3rrah624ckvssd197mpfb9-etc.drv
  /nix/store/229ybdv2l9f8091idxrcwsnc2mxhf9gv-nixos-system-laptop-21.03.20201130.24eb3f8-activate-rs.drv
  /nix/store/5afm7dw782ddssz3rhzfp833v7sqmdr9-nixos-system-laptop-21.03.20201130.24eb3f8.drv
  /nix/store/nxks74k9gnldnqg3lnbdsxd4p974sy1m-activatable-nixos-system-laptop-21.03.20201130.24eb3f8.drv
these 153 paths will be fetched (54.83 MiB download, 174.18 MiB unpacked):
  /nix/store/017q0x219b4i726i4h5rp3sk6z49a9pn-emacs-markup-faces-20141110.817
  /nix/store/09aknzzx7f29sfzpfgf4wb7k8j3l07cp-emacs-auto-dictionary-20150410.1610
  /nix/store/0fi38alh2i6zhz0ys0fwmr0cbzr3d1hx-emacs-selectrum-prescient-20201026.1413
  /nix/store/0glid31cvnxxi5jxdlab3ink68hmx93i-emacs-systemd-20191219.2304
  /nix/store/0h4nx31zmcd86y1b59wha05gd8pvrajy-emacs-posframe-20201201.659
  /nix/store/0mgx26dp0yc0d2k4f4mmz1z2szzm4b8r-emacs-mark-thing-at-20200427.1453
  /nix/store/0qgf2669nny3cs6q69q5c9kjcmsd9krv-emacs-company-box-20201004.735
  /nix/store/0r64l0z8n7k12imzjr5nrp9bq4yfg10z-emacs-pcre2el-20161120.2103
  /nix/store/0yw4h9zfrddp0gh7f2c57n1g6030g91b-emacs-docker-tramp-20170207.325
  /nix/store/1bh82m17sd29lyl16zqq7daps4ppv8yy-man-pages
  /nix/store/1jyrdrvj4f9jc7aazrrnzk2504fqqivq-emacs-company-quickhelp-20200714.1611
  /nix/store/23mvdk3amgc39rkvjmnlcn461j0d878l-emacs-ctrlf-20201020.1353
  /nix/store/2ww3afwg9fp0qncchnqwbvyhycv42f7n-emacs-popup-20200610.317
  /nix/store/2xyganwf5s8lqg7z8ih0iwmflq9wv9qk-emacs-shrink-path-20190208.1335
  /nix/store/3594ci0cvdbgqd3z13sg6k0cjvshqknm-emacs-s-20180406.808
  /nix/store/36rc97421gdn9c4qr94qi882p42wrs50-emacs-prescient-20201125.1428
  /nix/store/3a9igm890s65i4rmjlrl9m3zp63mqj8f-emacs-string-inflection-20200927.747
  /nix/store/3dhb5j656rxcap6s8sabmmidjvw9ir89-emacs-restclient-20200901.1442
  /nix/store/3fh0fc3an69qjjph0w739fk9j8rzxwnf-emacs-nginx-mode-20170612.437
  /nix/store/3j3176af0920m154jj5cyxxqsskq4265-emacs-buffer-move-20160615.1803
  /nix/store/3zn39lrcp76jks7xkcs32nzdji0i03mw-emacs-ht-20201119.518
  /nix/store/418mwaqy3g3wjyszq1gcph0hyq3gffc5-emacs-org-web-tools-20191217.1459
  /nix/store/4fklr5sfcc7bk9xjqnjp7zwgsi74yhwv-emacs-dash-functional-20200617.702
  /nix/store/4ikgvlj64676zn47ci3a8z41vgrh931i-emacs-wc-mode-20200108.1841
  /nix/store/4lcb4v5j6gg4qfgdzvsy1wj7jw5dlxmc-emacs-writeroom-mode-20201107.2227
  /nix/store/4nbfy1hbq9k2lybqmlyg93a6s9bwz87f-emacs-groovy-mode-20191031.2256
  /nix/store/4q72sdwrrnf4qb01k0bwsvjg0vgzhn9s-emacs-lsp-mode-20201129.1832
  /nix/store/4z56nf3my346gn8fzw1qhcbwbikqjx6x-emacs-amx-20200701.2108
  /nix/store/4zfna3kph25kygdh3hj2lqjzqx0f9al3-emacs-bind-key-20200805.1727
  /nix/store/507ay0gd8phr134nyz3qp3nj9d2d2j76-emacs-notmuch-20201112.13
  /nix/store/55lqfwf59ckw4agn6kdyigspdigfjmg5-emacs-gcmh-20201116.2251
  /nix/store/56mqgnl5x7cg932ldg7mrp837sqmcn1s-emacs-ob-restclient-20200316.759
  /nix/store/5skabi6v9vphsz9ilmh0m4p0yq0lq2h1-emacs-deadgrep-20201012.619
  /nix/store/5v4likxg19dxm0frbrsyzwk31m8xvx81-emacs-bui-20200426.2219
  /nix/store/69a3vz3k90w6aks7i03jvyarfswd43wa-emacs-undo-tree-0.7.5
  /nix/store/69p5sq52nzh145i9i5pqdn81r9fykf78-emacs-fira-code-mode-20201005.1607
  /nix/store/6ky4p4z88zhxh6sxlxplwryin7idslvj-emacs-alert-20200303.2118
  /nix/store/6p7p51qdp29gjndfhsfaw98l6h3k3405-emacs-org-superstar-20200818.2257
  /nix/store/6q7mhkq7p0l95lxz0rnhnzc33q4q052a-emacs-all-the-icons-dired-20200403.1018
  /nix/store/6rxyc1msaq3xlahssgdxgp6vbh4lz0d4-emacs-which-key-20200908.2301
  /nix/store/7bwlavsvvc4jz92dh99xaq0nd3vv7ffa-emacs-multiple-cursors-20201018.538
  /nix/store/7dl2m15pmi2clnqqd397ihix64qgza2q-emacs-yasnippet-20200604.246
  /nix/store/7j3vzfa0jiijysvizhnh0d9y2h59m91a-emacs-frame-local-20180330.940
  /nix/store/7lgawpc1g2fz4vg0ai4vj08h58fjfs7y-emacs-esxml-20201130.809
  /nix/store/803yfr7pm2j7qxbbs9khrbswdgj3j5b3-emacs-transpose-frame-20200307.2119
  /nix/store/811zk9i3b737rm5jpsyxf82mdsi08pvh-emacs-pkg-info-20150517.1143
  /nix/store/8jfkb4b56d5im16s93rnlbi895nnjjlz-emacs-ws-butler-20201117.1528
  /nix/store/8mlpaw2qazcf974440d9706zz07njz8b-emacs-with-editor-20201030.1232
  /nix/store/8p2zkjbjdn0767n2hblnja2i8m722nsq-emacs-rustic-20201202.846
  /nix/store/963pc02pi7hbzcagdlv2nal5g8lpkqfl-emacs-smartparens-20201128.2212
  /nix/store/9wkq17zasi4vj8jm3ib4g787ifzgbfc1-emacs-eldoc-1.11.0
  /nix/store/a12706k1lk6d9f8ghjwwqjacz2zm5jmb-emacs-hide-mode-line-20190922.115
  /nix/store/awnag0si0snsrj9w0zyypxm797w3zair-emacs-emacsql-sqlite-20190727.1710
  /nix/store/blna3n6lwmy8hvxrcggvzl5ankrr019h-emacs-company-20201120.1115
  /nix/store/bsz446hfr0nhs6wc7xlchyq6dzixg2bn-emacs-ace-link-20200518.957
  /nix/store/bxq0m2b2f7492x8pcvy0y6dfmjz3yn09-emacs-async-20200809.501
  /nix/store/bzr30alv2b5wpvsq1pmaqp0dh1qqyf1r-emacs-pfuture-20200425.1357
  /nix/store/cdkrmh6xnzx70caplq77xs2a4zis2q1h-emacs-flycheck-20201105.423
  /nix/store/ci920v9vlwfprnrgi8l8hxhf17r5w7n9-emacs-flycheck-plantuml-20171018.111
  /nix/store/cma8bby64y9pq53gnwlhajl6xmw6q8q0-emacs-envrc-20201114.240
  /nix/store/cxsn7nsdk6ahzwjzwkwb8k876ypnwz64-emacs-transient-20201128.1234
  /nix/store/dkbm26qbjpmfi3axp9ybgl1a53lqj81w-emacs-diminish-20191127.1326
  /nix/store/dl0wdhjbgi67sp3lzq9a9c3dac4dapp9-emacs-protobuf-mode-20200619.1742
  /nix/store/dr81xd8hfr135fx0kn9y6ijzxs81zl8v-emacs-python-0.27
  /nix/store/f6j8y5fw8s6zwcwlpsfd20bgzzs3yb1m-emacs-markdown-mode-20201115.635
  /nix/store/f9b8nqmwczkcd5xhqpwn0pnk9b5gss07-emacs-dockerfile-mode-20200106.2126
  /nix/store/fn4wffh2ah3883q7szpk62vj2gdslaak-emacs-frog-jump-buffer-20201117.1803
  /nix/store/fnkc5fzawxqqqsds7kc6w6ba79sh4cwp-emacs-literate-calc-mode-20201025.2003
  /nix/store/fw2mav3hlwdfxqn5dlvzp989yjnbxwhf-emacs-company-cabal-20170917.1317
  /nix/store/fzhfynwxzkx6pspf1fx847r6dz48vjch-emacs-adoc-mode-20160314.2130
  /nix/store/fzkfdgk51gy97140yik6b3wshzr2b90k-emacs-avy-20200624.1148
  /nix/store/g5wpqwpgli3kzcc51cf7qkr4x04p8x66-emacs-ggtags-20190320.2208
  /nix/store/gwkb489zl36w451dpq80ww7brjjrmz6z-emacs-frog-menu-0.2.11
  /nix/store/h5bmha9z6hbyjjxqbfr051sk1qdqp8n7-emacs-f-20191110.1357
  /nix/store/haspxw5vvrblbvv7k55la67d42j2lmrl-emacs-yaml-mode-20201109.1026
  /nix/store/hb4972wrq38836jrwkw2kcjn6l7y26yp-emacs-emojify-20201130.1116
  /nix/store/hi135gbm8xlgky9pq71l7zd3370f16kj-emacs-know-your-http-well-20160208.2304
  /nix/store/hk4x7nms0kf4w6jkfql4z5275q9bxr78-emacs-org-download-20200914.1558
  /nix/store/hlgsky1pj10zn9hfzzr9kml2028iaa47-emacs-memoize-20200103.2036
  /nix/store/hq2875kd6llf5djjw7m3pvdj1zkgay1b-emacs-company-restclient-20190426.1312
  /nix/store/hq8ylq2vccf6lb890l8dlfkk0pqgswvi-emacs-verb-20201127.2022
  /nix/store/i35viwi403hpb8bihz8xj6i7vcfjd5kw-emacs-fill-column-indicator-20200806.2239
  /nix/store/ic7nlbknl9kn818dd6ghmr1xb04yb8xc-emacs-org-tree-slide-20200611.1143
  /nix/store/ii5jz6xbqsnyx9gpcz25k1ijxrxv49gn-emacs-hydra-20201115.1055
  /nix/store/iqzyaklsqmv3x0pwyn59g57z7qy69jkn-emacs-htmlize-20200816.746
  /nix/store/isv81k7d5miy8im0dk7qcl4jmjzwdgym-emacs-hl-todo-20200813.1419
  /nix/store/iza40jyszn2dj3c6z6kzd4ap9wk1g55k-emacs-forge-20201201.1713
  /nix/store/j54pr21xm0gmj07ig6zjyhxabyln688p-emacs-ivy-20201110.1021
  /nix/store/j7zbkqhayqh09a2bb3bnmyl6ha0xs2fc-emacs-browse-at-remote-20200820.654
  /nix/store/jch3wkqlgp0wqd7iiz9ydjfaggbgwsb9-emacs-magit-todos-20201101.2240
  /nix/store/jk2x897vf3jmnrdm42lfdjgrpqcw27k4-emacs-centaur-tabs-20201129.1538
  /nix/store/jqvf7q3z8ndd7r24yg6b3g6q30r8yqbf-emacs-org-20201130
  /nix/store/k272diyr44qd351qychcr9vswvdcx2xk-emacs-web-mode-20201107.1152
  /nix/store/l2v6kzfrxjcdvzxivgn9km5yy44jqfzg-emacs-gntp-20141025.250
  /nix/store/l3igaifcz9nlwnri4rx9gy87kqgahh3j-emacs-company-prescient-20200716.1414
  /nix/store/lq0jqz5j66qsk4s1x0afkc1zwi6q2lm9-emacs-nyan-mode-20200526.1054
  /nix/store/lqcjd0lbl9sqkbj7nwl45iaqxhkmniv0-emacs-git-messenger-20201202.1637
  /nix/store/mb996ph83nkca09z7ryk7ibg5ysb8gg2-emacs-use-package-20201110.2133
  /nix/store/mq8r8hrb4drjrbam20rilshlm0v1zjzl-emacs-dired-single-20200824.708
  /nix/store/mr4z82c44bzkzbcggqg0ba93hwnirppv-emacs-nix-sandbox-20191126.759
  /nix/store/mrsz53ism77xviyy13zc03rsp6p5ji8w-emacs-vterm-20201130.1521
  /nix/store/mv6xg0flxj2s3rzk6l8pw0a8py70qn0v-emacs-treemacs-projectile-20200530.2129
  /nix/store/mzg7x6hcssb9v8f74gcq1l65vchqr3nd-emacs-lsp-ui-20201024.2307
  /nix/store/n9dh17b8f9vfqlzh5qdm6lgx5cpqhdhk-emacs-pandoc-mode-20201120.2241
  /nix/store/na4gbhxapj7z3js26ryb56pz8dhh4ij3-emacs-lv-20200507.1518
  /nix/store/nl6l72asz657jqifbd5hf7lcgncwf754-emacs-emacsql-sqlite3-20200914.508
  /nix/store/nlf9rwb3i4bgw0rk364c6ag9z6yrvkr4-emacs-selectrum-20201201.1618
  /nix/store/nrsqrckh9889b4bv3n5lc58m9sixawvp-emacs-plantuml-mode-20191102.2056
  /nix/store/ny50rygffyxg1d4ym628h3z5i6sr2chf-emacs-xterm-color-20200605.2017
  /nix/store/p3bz644rbqx5ba2dgz7428b7vx66dkr7-emacs-drag-stuff-20161108.749
  /nix/store/p6by7da1ma2nkd6lav4dcym0lzbgxzh6-emacs-ghub-20201119.1941
  /nix/store/p8fhlkimkhv0823d70h44vv09niqg0nq-emacs-choice-program-20190817.2153
  /nix/store/pfqzdxynna3pmnqj0ajh78lpffsmvkj7-emacs-projectile-20201202.824
  /nix/store/pivn701lbjqbrma6m7bcq80vvwnrzicp-emacs-yasnippet-snippets-20201118.2148
  /nix/store/q8kbhcvw204q53bgwnz6g64s3cwb1y61-emacs-org-roam-20201128.1144
  /nix/store/q94m8s0k6k0dijqa0rr31m72abg2nhn8-emacs-doom-modeline-20201128.1659
  /nix/store/qc05m0p6y8hgm2f7zw8nla685bnpg2al-emacs-dap-mode-20201118.1304
  /nix/store/qcq3p4bp6isvyrwz1cvy8s8vqv4y947j-emacs-let-alist-1.0.6
  /nix/store/qqgfsdbbp2kjf0w9rsag9qpsmnrpbd2d-emacs-spinner-1.7.3
  /nix/store/qwlxf823w7wkifbfi13x0qznxlvyspzj-emacs-counsel-20201109.1753
  /nix/store/qzqzkc2fpi5kzy3b56bp214mf3gy6k64-emacs-all-the-icons-20200923.1339
  /nix/store/r8a15lzfqwlcp527lqjlrirwg52x54hm-emacs-magit-20201202.1235
  /nix/store/r8qmfxq837vddf3wyjscqsl9h4l8896z-emacs-swiper-20201002.1049
  /nix/store/ripv9hjy7k3wh6x6n09kfsrdssmhhccl-emacs-treemacs-20201128.1158
  /nix/store/rmljljxh5zs0v9plc0zkh4lslrwqhp8p-emacs-eldoc-box-20200316.1956
  /nix/store/s7sc34745cpca22mlmgipvcpd797r4hl-emacs-rainbow-mode-1.0.5
  /nix/store/s85phlyjhhh9zzx5axm01bbsppgrip1i-emacs-ace-window-20200606.1259
  /nix/store/sg8329xwkvc6858lga6gb8dlmgy0394v-emacs-log4e-20200420.745
  /nix/store/si5mq699s07sraaf70x09436ss8lwjfj-emacs-prettier-js-20180109.726
  /nix/store/sjbzwl3jwmvyscmwgp5hhgpc5rh5yplr-emacs-lsp-treemacs-20201122.844
  /nix/store/svax62jk3x4r7bpdb6mc0cnhq4yw7avn-emacs-elcord-20200611.2314
  /nix/store/v1ap5fxg9mb242igpiv8sadf5dlb074a-emacs-rainbow-delimiters-20200827.321
  /nix/store/vlxqax044qwxgl6iiwh5fh8s74hf5wpy-emacs-whole-line-or-region-20200924.129
  /nix/store/w3kjqjmwranydfczn9ifdxwgp6zlb3m5-emacs-ripgrep-20190215.841
  /nix/store/wcbkdjp7vldk8jm80r6cjql4bj1iy96p-emacs-powerline-20201129.2306
  /nix/store/wfk263jrcj6iw216rczfbwki4b02xxal-emacs-git-commit-20201115.2313
  /nix/store/whwv6cn6hhflh6vl3xl6ldd5b9r3np7j-emacs-emacsql-20200714.28
  /nix/store/wwzkan6iqa9l5ms4g3wyrcd9cbgp86az-emacs-pos-tip-20191227.1356
  /nix/store/x31iii7zzwf540qmkmvl9fnzz5ng3p0m-emacs-git-20201202.0
  /nix/store/x7yxwmrdndzz0a061k3f8kzhkg8hkq1m-emacs-visual-fill-column-20201008.919
  /nix/store/xk0bc065dmi2sa45i4v3fzj7kpvsq0kn-emacs-deft-20200515.1513
  /nix/store/xncc0n2djwlwzqj57047pvinp4q4wz4y-emacs-closql-20200704.2124
  /nix/store/y5b0xllb9jj4zmw4zgvwnnadgl2fgg7p-emacs-treepy-20191108.2217
  /nix/store/yf491mv27hvv354rjraznqrsbv7nmw0z-emacs-dash-20200803.1520
  /nix/store/ygqhanww7c37jsxcfwgc2hpy6nkzm39a-emacs-diff-hl-20201201.1956
  /nix/store/yk45wcpryl34dsp7i2j53vmb84lfhr2f-emacs-expand-region-20200304.1839
  /nix/store/z52rhsngkrksy45nriab7v90lawcrpwd-emacs-base16-theme-20200929.2159
  /nix/store/z9kw75rc4djrw889gzc56jw8d93djkai-emacs-org-edna-1.1.2
  /nix/store/zchsc1h3b3qmd0p10n8vdamn4x2jlwc7-emacs-epl-20180205.2049
  /nix/store/zgz72hhs8mby0w85pjgsdad4lfmhb5dl-emacs-tt-mode-20130804.1110
  /nix/store/zijz2qpacczxki0mlf123jycai1d34pw-emacs-request-20201026.2324
  /nix/store/zmx5nbklngy7q45xaalmgbnk4vgnqznh-emacs-ob-http-20180707.1448
  /nix/store/zvibwj7xq6im1j07a38iwp2cl94lj3im-emacs-nix-mode-20201202.1618

When I ran nix develop -c nix-build-uncached ci.nix all the emacs packages were fetched from nix-community.cachix.org.

Aren't all those emacs packages supposed to be excluded from the dry-run and the nix-build-uncached since they are cached?

@Mic92
Copy link
Owner

Mic92 commented Dec 3, 2020

@bbigras they may appear in the dry run and they may be downloaded if they are dependencies of something else. nix-build-uncached parses the dry run output so you need to wait for the nix build that follows to see if they are actually build.

@bbigras
Copy link
Author

bbigras commented Dec 3, 2020

I think I found something.

For some reason, in my github action nix develop -c nix-build-uncached ci.nix doesn't work but if I install it with nix-env -f '<nixpkgs>' -iA nix-build-uncached and then run nix-build-uncached ci.nix, it does work.

nix develop -c nix-build-uncached ci.nix had no output:
image

I don't know if it's because of not using nix develop or if it's because I added the nixpkgs channel to my github action.

By "it works" I mean that I saw a bunch of stuff build, my github action took a lot longer to run, and stuff was pushed to cachix.

bbigras referenced this issue in bbigras/nix-config Dec 3, 2020
@bbigras
Copy link
Author

bbigras commented Dec 18, 2020

There's still something weird that I didn't have time to figure out yet.

There 2 runs are supposed to take the same time since it's the same commit. One is the scheduled build and the other is after the merge.

image

@Mic92
Copy link
Owner

Mic92 commented Dec 19, 2020

Is this is reproducible?

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

No branches or pull requests

2 participants