Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

programs.jdks: init #988

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

programs.jdks: init #988

wants to merge 4 commits into from

Commits on Jun 29, 2024

  1. programs.jdks: init

    I've left stubs in place to allow setting the JDK in use,
    but I have not yet implemented that, so this only adds support
    for `programs.jdk.installed`
    Samasaur1 committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    732e8b1 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    df30ab5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be134a2 View commit details
    Browse the repository at this point in the history
  3. Fix shell quoting

    I thought I understood bash quoting. I do not. Here's an example:
    
    ```
    [sam](~)$ for jdk in "/nix/store/fq62102p6snl4mix9w0wpzw9a91ck4l1-zulu-ca-jdk-8.0.402/*.jdk"; do echo $jdk; echo ${jdk//\//_}; done
    /nix/store/fq62102p6snl4mix9w0wpzw9a91ck4l1-zulu-ca-jdk-8.0.402/zulu-8.jdk
    _nix_store_fq62102p6snl4mix9w0wpzw9a91ck4l1-zulu-ca-jdk-8.0.402_*.jdk
    [sam](~)$ for jdk in /nix/store/fq62102p6snl4mix9w0wpzw9a91ck4l1-zulu-ca-jdk-8.0.402/*.jdk; do echo $jdk; echo ${jdk//\//_}; done
    /nix/store/fq62102p6snl4mix9w0wpzw9a91ck4l1-zulu-ca-jdk-8.0.402/zulu-8.jdk
    _nix_store_fq62102p6snl4mix9w0wpzw9a91ck4l1-zulu-ca-jdk-8.0.402_zulu-8.jdk
    ```
    Samasaur1 committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    2adfb8e View commit details
    Browse the repository at this point in the history