| 3 Feb 2026 |
Johnny | I'm a little confused. I'm trying to use writeShellScript in a flake output, but I'm being told that the writeShellScript attribute is missing. Here's an excerpt from my flake.nix, any ideas?
{
inputs = {
flake-utils.url = "github:numtide/flake-utils/v1.0.0";
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
vm = nixpkgs.lib.nixosSystem { ... }
vmScript = nixpkgs.lib.writeShellScript "run-vm.sh" ''...'';
in ...
}
| 15:41:33 |
K900 ⚡️ | It's in pkgs | 15:41:50 |
K900 ⚡️ | Not lib | 15:41:52 |
Johnny | Did that change at some point? | 15:42:16 |
K900 ⚡️ | No | 15:43:09 |
| Jack left the room. | 15:43:44 |
Scrumplex | It will need a shell binary for the shebang, so it'll require a package for your system. Meaning it has to come from pkgs | 15:43:55 |
Johnny | Okay, thank you | 15:45:18 |
| 4 Feb 2026 |
| tiferrei joined the room. | 02:48:18 |
| twix ⚡️ left the room. | 10:31:25 |
| tiferrei left the room. | 14:28:33 |
| 5 Feb 2026 |
| van joined the room. | 11:14:46 |
| van set a profile picture. | 19:06:44 |
| van changed their profile picture. | 19:07:58 |
| van removed their profile picture. | 19:08:13 |
| van set a profile picture. | 19:09:06 |
| van changed their profile picture. | 19:09:09 |
| 6 Feb 2026 |
| @hans:procolix.com removed their profile picture. | 14:51:44 |
| @hans:procolix.com removed their display name Hans van Zijst. | 14:53:22 |
| @hans:procolix.com left the room. | 15:03:49 |
| 9 Feb 2026 |
| actioninja joined the room. | 06:53:25 |
| amadaluzia removed their profile picture. | 22:30:34 |
| amadaluzia set a profile picture. | 22:33:34 |
| 10 Feb 2026 |
| pneumatic changed their display name from ribosomerocker to pneumatic. | 10:28:36 |
| Katz joined the room. | 11:00:26 |
| Marcel joined the room. | 18:06:58 |
| Crony Akatsuki joined the room. | 19:58:01 |
| 11 Feb 2026 |
| monokles joined the room. | 02:01:50 |
| ironmoon joined the room. | 06:11:33 |
| Eli Saado joined the room. | 13:34:17 |