Skip to content

Custom schemas directory #184

@ArmelClo

Description

@ArmelClo

I think it would be a good addition to be able to customize the schema's output directory.

phrog/build.rs

Line 11 in d7e048c

PathBuf::from(std::env::var("HOME").unwrap()).join(".local/share/glib-2.0/schemas");

For example, I'm trying to package Phrog for NixOS, but we can't modify the user's home directory.

I don't know how to do that well with the Rust build process, but maybe with only an environment variable?

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