Created
October 16, 2019 11:05
-
-
Save d-goldin/ed26652acd63944f4b10980a9683b146 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> nix repl release-19.09 [232d274a5e1] (!) untracked | |
Welcome to Nix version 2.3. Type :? for help. | |
nix-repl> :l <nixpkgs> | |
Added 10842 variables. | |
nix-repl> systemdlib = callPackage ./nixos/modules/system/boot/systemd-lib.nix {} | |
nix-repl> systemdlib.attrsToSection {"a" = 2;} | |
"a=2\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment