mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-09-11 12:15:29 +03:00
Makefile: also include format-module.nix
This commit is contained in:
parent
4235c30807
commit
f243a4961d
4
Makefile
4
Makefile
@ -3,6 +3,8 @@ SHARE ?= $(PREFIX)/share/nixos-generator
|
||||
|
||||
all:
|
||||
|
||||
SOURCES = formats format-module.nix configuration.nix nixos-generate.nix
|
||||
|
||||
install:
|
||||
mkdir -p $(PREFIX)/bin $(SHARE)
|
||||
sed \
|
||||
@ -10,4 +12,4 @@ install:
|
||||
-e "s|#!/usr/bin/env.*|#!/usr/bin/env bash|" \
|
||||
nixos-generate > $(PREFIX)/bin/nixos-generate
|
||||
chmod 755 $(PREFIX)/bin/nixos-generate
|
||||
cp -r formats configuration.nix nixos-generate.nix $(SHARE)
|
||||
cp -r $(SOURCES) $(SHARE)
|
||||
|
Loading…
Reference in New Issue
Block a user