aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/flake.nix4
-rw-r--r--lib/mk-sandbox-system.nix4
-rw-r--r--readme.md2
3 files changed, 5 insertions, 5 deletions
diff --git a/example/flake.nix b/example/flake.nix
index cc91ec9..3ace7bd 100644
--- a/example/flake.nix
+++ b/example/flake.nix
@@ -2,9 +2,9 @@
2 description = "Example of a Flake using flaky-utils."; 2 description = "Example of a Flake using flaky-utils.";
3 3
4 inputs = { 4 inputs = {
5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; 5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
6 flake-utils.url = "github:numtide/flake-utils"; 6 flake-utils.url = "github:numtide/flake-utils";
7 flaky-utils.url = "git+https://cgit.pacien.net/libs/flaky-utils"; 7 flaky-utils.url = "git+https://cgit.euxane.net/flaky-utils";
8 }; 8 };
9 9
10 outputs = { self, nixpkgs, flake-utils, flaky-utils }: 10 outputs = { self, nixpkgs, flake-utils, flaky-utils }:
diff --git a/lib/mk-sandbox-system.nix b/lib/mk-sandbox-system.nix
index 9408be3..68a13a7 100644
--- a/lib/mk-sandbox-system.nix
+++ b/lib/mk-sandbox-system.nix
@@ -11,7 +11,7 @@ let
11 shellLib = flake.lib.shell { inherit pkgs; }; 11 shellLib = flake.lib.shell { inherit pkgs; };
12 12
13 print = rec { 13 print = rec {
14 printSharedDir = name: { source, target }: '' 14 printSharedDir = name: { source, target, ... }: ''
15 echo -en ${shellLib.fmt.keyword target}": " 15 echo -en ${shellLib.fmt.keyword target}": "
16 echo ${pkgs.lib.escapeShellArg source} 16 echo ${pkgs.lib.escapeShellArg source}
17 ''; 17 '';
@@ -118,7 +118,7 @@ in rec {
118 118
119 apps.${name} = { 119 apps.${name} = {
120 type = "app"; 120 type = "app";
121 program = toString (pkgs.writeShellScript "sandbox-vm" ('' 121 program = pkgs.lib.getExe (pkgs.writeShellScriptBin "sandbox-vm" (''
122 # Save current directory for mounting in VM 122 # Save current directory for mounting in VM
123 SHARED_CWD=$PWD 123 SHARED_CWD=$PWD
124 export SHARED_CWD 124 export SHARED_CWD
diff --git a/readme.md b/readme.md
index 649d53c..ae7841b 100644
--- a/readme.md
+++ b/readme.md
@@ -18,7 +18,7 @@ Issues and patches: email the author.
18 18
19## Licence and copyright 19## Licence and copyright
20 20
21Copyright (C) 2022 Pacien TRAN-GIRARD. 21Copyright (C) 2024 Euxane TRAN-GIRARD.
22 22
23This project is distributed under the terms of European Union Public Licence 23This project is distributed under the terms of European Union Public Licence
24version 1.2, a copy of which is provided in `./licence.txt`. 24version 1.2, a copy of which is provided in `./licence.txt`.