!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

571 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org155 Servers

Load older messages


SenderMessageTime
3 Feb 2026
@johnny:yatrix.orgJohnny

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:0upti.meK900 It's in pkgs 15:41:50
@k900:0upti.meK900 Not lib 15:41:52
@johnny:yatrix.orgJohnnyDid that change at some point?15:42:16
@k900:0upti.meK900No15:43:09
@jack:jackhenry.ioJack left the room.15:43:44
@scrumplex:duckhub.ioScrumplexIt will need a shell binary for the shebang, so it'll require a package for your system. Meaning it has to come from pkgs15:43:55
@johnny:yatrix.orgJohnnyOkay, thank you15:45:18
4 Feb 2026
@tiferrei:tiferrei.comtiferrei joined the room.02:48:18
@twix:elendigsoftware.cctwix ⚡️ left the room.10:31:25
@tiferrei:tiferrei.comtiferrei left the room.14:28:33
5 Feb 2026
@van:mx.vou.shvan joined the room.11:14:46
@van:mx.vou.shvan set a profile picture.19:06:44
@van:mx.vou.shvan changed their profile picture.19:07:58
@van:mx.vou.shvan removed their profile picture.19:08:13
@van:mx.vou.shvan set a profile picture.19:09:06
@van:mx.vou.shvan changed their profile picture.19:09:09
6 Feb 2026
@hans:procolix.com@hans:procolix.com removed their profile picture.14:51:44
@hans:procolix.com@hans:procolix.com removed their display name Hans van Zijst.14:53:22
@hans:procolix.com@hans:procolix.com left the room.15:03:49
9 Feb 2026
@actioninja:4d2.orgactioninja joined the room.06:53:25
@amadaluzia:unredacted.orgamadaluzia removed their profile picture.22:30:34
@amadaluzia:unredacted.orgamadaluzia set a profile picture.22:33:34
10 Feb 2026
@mon:tchncs.depneumatic changed their display name from ribosomerocker to pneumatic.10:28:36
@katzuwu:matrix.orgKatz joined the room.11:00:26
@marcel_treis:matrix.orgMarcel joined the room.18:06:58
@crony:cronyakatsuki.xyzCrony Akatsuki joined the room.19:58:01
11 Feb 2026
@monokles:matrix.monokles.eumonokles joined the room.02:01:50
@ironm00n:matrix.orgironmoon joined the room.06:11:33
@elisaado:elisaado.comEli Saado joined the room.13:34:17

Show newer messages


Back to Room ListRoom Version: 10