Skip to content

nix pkgs.buildFHSUserEnv support #9

@georgyo

Description

@georgyo

nix-shell has a pretty awesome ability to create a FHS compatible environment. However the shell hook current breaks nix-cage.

IE the following shell.nix:

# shell.nix
{ pkgs ? import <nixpkgs> {} }:

(pkgs.buildFHSUserEnv {
  name = "simple-x11-env";
  targetPkgs = pkgs: (with pkgs; [
    python3
  ]);
  multiPkgs = pkgs: (with pkgs; [
    python3
  ]);
  runScript = "bash";
}).env

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions