From 3e337302f9fa93a3496aafd7f57223cbd794de28 Mon Sep 17 00:00:00 2001 From: euxane Date: Sun, 6 Oct 2024 01:02:33 +0200 Subject: channel: update for nixos 24.05 --- example/flake.nix | 2 +- lib/mk-sandbox-system.nix | 4 ++-- readme.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example/flake.nix b/example/flake.nix index 7719fab..3ace7bd 100644 --- a/example/flake.nix +++ b/example/flake.nix @@ -2,7 +2,7 @@ description = "Example of a Flake using flaky-utils."; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; flake-utils.url = "github:numtide/flake-utils"; flaky-utils.url = "git+https://cgit.euxane.net/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 shellLib = flake.lib.shell { inherit pkgs; }; print = rec { - printSharedDir = name: { source, target }: '' + printSharedDir = name: { source, target, ... }: '' echo -en ${shellLib.fmt.keyword target}": " echo ${pkgs.lib.escapeShellArg source} ''; @@ -118,7 +118,7 @@ in rec { apps.${name} = { type = "app"; - program = toString (pkgs.writeShellScript "sandbox-vm" ('' + program = pkgs.lib.getExe (pkgs.writeShellScriptBin "sandbox-vm" ('' # Save current directory for mounting in VM SHARED_CWD=$PWD export SHARED_CWD diff --git a/readme.md b/readme.md index 33fc334..ae7841b 100644 --- a/readme.md +++ b/readme.md @@ -18,7 +18,7 @@ Issues and patches: email the author. ## Licence and copyright -Copyright (C) 2023 Euxane TRAN-GIRARD. +Copyright (C) 2024 Euxane TRAN-GIRARD. This project is distributed under the terms of European Union Public Licence version 1.2, a copy of which is provided in `./licence.txt`. -- cgit v1.2.3