Eval the devx script on linux (#50)

This commit is contained in:
Moritz Angermann 2023-04-30 20:40:57 +08:00 committed by GitHub
parent 50c9b61925
commit ce84c22268
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,12 @@
} ''
nix --offline --extra-experimental-features "nix-command flakes" \
print-dev-env ${drv.drvPath} >> $out
''; in pkgs.writeTextFile {
'';
# this needs to be linux. It would be great if we could have this
# eval platform agnostic, but flakes don't permit this. A the
# platform where we build the docker images is linux (github
# ubuntu runners), this needs to be evaluable on linux.
in (import nixpkgs { system = "x86_64-linux"; }).writeTextFile {
name = "devx";
executable = true;
text = ''