From 1364b30305c9bf0aa3d4177f0c3b562cff049daf Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Wed, 2 Mar 2022 11:23:53 -0500 Subject: [PATCH] blog/nix-flakes-2: minor fixes - link to the right nixpkgs PR - use bash syntax instead of fish syntax Signed-off-by: Xe --- blog/nix-flakes-2-2022-02-27.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/nix-flakes-2-2022-02-27.markdown b/blog/nix-flakes-2-2022-02-27.markdown index d68cb27..b820885 100644 --- a/blog/nix-flakes-2-2022-02-27.markdown +++ b/blog/nix-flakes-2-2022-02-27.markdown @@ -296,7 +296,7 @@ target more than just Ubuntu. In the next few years with more releases of systemd, Portable Services should be easier to use and will be more integrated with the system than Docker is.](conversation://Mara/hacker) -There is currently an [open pull request](https://systemd.io/PORTABLE_SERVICES/) +There is currently an [open pull request](https://github.com/NixOS/nixpkgs/pull/161278) for adding Portable Service building support to nixpkgs, however we can mess around with it today thanks to [my portable-svc overlay](https://tulpa.dev/cadey/portable-svc) that copies in the contents of @@ -519,7 +519,7 @@ $ nix build .#portable Copy it to the arch VM with `scp`: ```console -$ scp (readlink ./result) xe@10.77.129.208:web-server_20220227.raw +$ scp $(readlink ./result) xe@10.77.129.208:web-server_20220227.raw ``` And finally run `portablectl reattach` to upgrade it: