mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
openbsd.{fdisk,umount,newfs,newfs_msdos,disklabel,mount_msdosfs,mknod}: init (#381515)
This commit is contained in:
commit
9d73d822d2
7 changed files with 79 additions and 0 deletions
13
pkgs/os-specific/bsd/openbsd/pkgs/disklabel/package.nix
Normal file
13
pkgs/os-specific/bsd/openbsd/pkgs/disklabel/package.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
mandoc,
|
||||
}:
|
||||
mkDerivation {
|
||||
path = "sbin/disklabel";
|
||||
extraNativeBuildInputs = [
|
||||
mandoc
|
||||
];
|
||||
meta.platforms = lib.platforms.openbsd;
|
||||
meta.mainProgram = "disklabel";
|
||||
}
|
11
pkgs/os-specific/bsd/openbsd/pkgs/fdisk.nix
Normal file
11
pkgs/os-specific/bsd/openbsd/pkgs/fdisk.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
mandoc,
|
||||
}:
|
||||
mkDerivation {
|
||||
path = "sbin/fdisk";
|
||||
extraNativeBuildInputs = [ mandoc ];
|
||||
meta.mainProgram = "fdisk";
|
||||
meta.platforms = lib.platforms.openbsd;
|
||||
}
|
9
pkgs/os-specific/bsd/openbsd/pkgs/mknod.nix
Normal file
9
pkgs/os-specific/bsd/openbsd/pkgs/mknod.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
}:
|
||||
mkDerivation {
|
||||
path = "sbin/mknod";
|
||||
meta.mainProgram = "mknod";
|
||||
meta.platforms = lib.platforms.openbsd;
|
||||
}
|
12
pkgs/os-specific/bsd/openbsd/pkgs/mount_msdos/package.nix
Normal file
12
pkgs/os-specific/bsd/openbsd/pkgs/mount_msdos/package.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
}:
|
||||
mkDerivation {
|
||||
path = "sbin/mount_msdos";
|
||||
extraPaths = [
|
||||
"sbin/mount"
|
||||
];
|
||||
meta.mainProgram = "mount_msdos";
|
||||
meta.platforms = lib.platforms.openbsd;
|
||||
}
|
14
pkgs/os-specific/bsd/openbsd/pkgs/newfs/package.nix
Normal file
14
pkgs/os-specific/bsd/openbsd/pkgs/newfs/package.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
path = "sbin/newfs";
|
||||
extraPaths = [
|
||||
"sbin/mount"
|
||||
"sbin/disklabel"
|
||||
];
|
||||
meta.mainProgram = "newfs";
|
||||
meta.platforms = lib.platforms.openbsd;
|
||||
}
|
10
pkgs/os-specific/bsd/openbsd/pkgs/newfs_msdos.nix
Normal file
10
pkgs/os-specific/bsd/openbsd/pkgs/newfs_msdos.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
path = "sbin/newfs_msdos";
|
||||
meta.mainProgram = "newfs_msdos";
|
||||
meta.platforms = lib.platforms.openbsd;
|
||||
}
|
10
pkgs/os-specific/bsd/openbsd/pkgs/umount/package.nix
Normal file
10
pkgs/os-specific/bsd/openbsd/pkgs/umount/package.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
path = "sbin/umount";
|
||||
meta.mainProgram = "ummount";
|
||||
meta.platforms = lib.platforms.openbsd;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue